Files
dockerservertest/docker-compose.yml
2023-05-09 11:59:15 -05:00

53 lines
1.3 KiB
YAML

version: '3'
services:
xbackbone:
image: lscr.io/linuxserver/xbackbone:latest
container_name: xbackbone
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- ./appdata/xbackbone/config:/config
- /mnt/fileserver/files:/files
ports:
- 8080:80
- 8443:443
restart: unless-stopped
zipline-postgres:
container_name: zipline-postgres
image: postgres:15
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DATABASE=postgres
volumes:
- ./appdata/zipline/pg_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 10s
timeout: 5s
retries: 5
zipline:
container_name: zipline
image: ghcr.io/diced/zipline
ports:
- '3000:3000'
restart: unless-stopped
environment:
- CORE_RETURN_HTTPS=false
- CORE_SECRET=${CORE_SECRET}
- CORE_HOST=${CORE_HOST}
- CORE_PORT=${CORE_PORT}
- CORE_DATABASE_URL=postgres://zipline-postgres:postgres@postgres/postgres
- CORE_LOGGER=true
volumes:
- '/mnt/fileserver/files/zipline:/zipline/uploads'
- '/mnt/fileserver/files:/zipline/public'
depends_on:
- 'zipline-postgres'