2021-06-23 13:20:20 -05:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
image: postgres
|
2022-03-26 15:37:02 -05:00
|
|
|
restart: always
|
|
|
|
environment:
|
2021-06-23 13:20:20 -05:00
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
- POSTGRES_PASSWORD=postgres
|
|
|
|
- POSTGRES_DATABASE=postgres
|
2022-03-26 15:37:02 -05:00
|
|
|
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'
|
2022-03-26 15:37:02 -05:00
|
|
|
restart: always
|
|
|
|
environment:
|
2022-12-10 17:24:34 -05:00
|
|
|
- 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'
|
2021-06-23 13:20:20 -05:00
|
|
|
- '$PWD/public:/zipline/public'
|
|
|
|
depends_on:
|
|
|
|
- 'postgres'
|
|
|
|
|
|
|
|
volumes:
|
2022-10-19 21:43:01 -05:00
|
|
|
pg_data:
|