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
|
2022-03-26 15:37:02 -05:00
|
|
|
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'
|
2023-01-14 18:25:36 -05:00
|
|
|
restart: unless-stopped
|
2022-03-26 15:37:02 -05:00
|
|
|
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'
|
2023-05-11 00:39:08 -05:00
|
|
|
- './public:/zipline/public'
|
2021-06-23 13:20:20 -05:00
|
|
|
depends_on:
|
|
|
|
- 'postgres'
|
|
|
|
|
|
|
|
volumes:
|
2022-10-19 21:43:01 -05:00
|
|
|
pg_data:
|