Files
gobas-web/docker-compose.yaml
2026-04-18 22:19:58 +02:00

32 lines
738 B
YAML

services:
proxy:
image: nginx:alpine
container_name: gobas_proxy
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- frontend
- backend
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: gobas_frontend
restart: unless-stopped
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: gobas_backend
environment:
- MAIL_SERVER=smtp.gmail.com
- MAIL_PORT=587
- MAIL_USE_TLS=True
- MAIL_USERNAME=${MAIL_USERNAME:-tvoj@email.sk}
- MAIL_PASSWORD=${MAIL_PASSWORD:-tvojeheslo}
restart: unless-stopped