pridanie zakladnych funkcionalít

This commit is contained in:
tpikna
2026-04-14 21:00:08 +02:00
parent 8dac76c758
commit 462205c14c
6 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
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: ./frontned
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