25 lines
511 B
YAML
25 lines
511 B
YAML
version: '3.6'
|
|
|
|
services:
|
|
cdn:
|
|
image: nginx:alpine
|
|
volumes:
|
|
- ./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.11
|
|
container_name: zdamegzzawodowydb
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
- POSTGRES_PASSWORD=zdamegzzawodowy
|
|
- POSTGRES_DB=zdamegzzawodowy
|
|
- TZ=UTC
|