first commit

This commit is contained in:
Tomáš Dvořák
2025-10-02 12:39:28 +02:00
commit 0fc92f8464
60 changed files with 11834 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: czech-clubs-backend
ports:
- "8080:8080"
environment:
- PORT=8080
volumes:
- ./data/logos:/root/logos
- ./data/db:/root/data
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: czech-clubs-frontend
ports:
- "3000:80"
depends_on:
- backend
restart: unless-stopped
volumes:
logos:
db: