add docker files & nginx config

This commit is contained in:
2025-12-18 14:04:14 +03:00
parent f1a65f2fe4
commit 797c53bfca
13 changed files with 4300 additions and 950 deletions

29
docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
services:
api:
build: .
container_name: archive-local-api
restart: unless-stopped
expose:
- 5000
env_file:
- .env
volumes:
- ./db:/app/db
web:
build: ./web
container_name: archive-local-web
restart: unless-stopped
expose:
- 3000
env_file:
- ./web/.env
nginx:
image: nginx:latest
container_name: archive-local-nginx
restart: unless-stopped
ports:
- 80:80
volumes:
- ./nginx:/etc/nginx/conf.d