zipline/docker-compose.yml

38 lines
854 B
YAML
Raw Normal View History

2021-06-23 13:20:20 -05:00
version: '3'
services:
postgres:
2022-12-14 01:26:50 -05:00
image: postgres:15
2023-01-14 18:25:36 -05:00
restart: unless-stopped
environment:
2021-06-23 13:20:20 -05:00
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DATABASE=postgres
volumes:
2021-06-23 13:20:20 -05:00
- pg_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 10s
timeout: 5s
retries: 5
zipline:
2022-07-12 23:32:52 -05:00
image: ghcr.io/diced/zipline
2021-06-23 13:20:20 -05:00
ports:
- '3000:3000'
2023-01-14 18:25:36 -05:00
restart: unless-stopped
environment:
- CORE_RETURN_HTTPS=false
2022-07-12 23:32:52 -05:00
- CORE_SECRET=changethis
- CORE_HOST=0.0.0.0
- CORE_PORT=3000
- CORE_DATABASE_URL=postgres://postgres:postgres@postgres/postgres
- CORE_LOGGER=true
2021-06-23 13:20:20 -05:00
volumes:
2022-07-12 23:32:52 -05:00
- './uploads:/zipline/uploads'
- './public:/zipline/public'
2021-06-23 13:20:20 -05:00
depends_on:
- 'postgres'
volumes:
pg_data: