version: '3.6'
volumes:
postgres:
services:
cdn:
image: nginx:alpine
- ./dev/upload:/usr/share/nginx/html
- ./dev/nginx.conf:/etc/nginx/nginx.conf
ports:
- "9000:80"
environment:
- NGINX_PORT=80
restart: unless-stopped
zdamegzzawodowydb:
image: postgres:12.9
container_name: zdamegzzawodowydb
- 'postgres:/var/lib/postgresql/data'
- "5432:5432"
- POSTGRES_PASSWORD=zdamegzzawodowy
- POSTGRES_DB=zdamegzzawodowy
- TZ=UTC