SeaswimmerTheFsh
d2c9d30339
All checks were successful
Docker Compose Linter / Docker Compose Linter (push) Successful in 5s
32 lines
654 B
YAML
32 lines
654 B
YAML
version: '3'
|
|
services:
|
|
postgres:
|
|
image: postgres:15
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DATABASE=postgres
|
|
volumes:
|
|
- pg_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U postgres']
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
zipline:
|
|
image: ghcr.io/diced/zipline
|
|
ports:
|
|
- '3001:3001'
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- './uploads:/zipline/uploads'
|
|
- './public:/zipline/public'
|
|
depends_on:
|
|
- 'postgres'
|
|
|
|
volumes:
|
|
pg_data:
|