docker compose

This commit is contained in:
2025-10-27 14:40:01 +05:00
parent e34f1baf50
commit 51a3308f8c
15 changed files with 221 additions and 13 deletions

28
docker-compose.yaml Normal file
View File

@@ -0,0 +1,28 @@
services:
backend:
image: rither:dev
environment:
- LISTEN_PORT=${BACKEND_PORT}
ports:
- "13200:13200"
networks:
- shared
proxy:
environment:
- BACKEND_PORT=${BACKEND_PORT}
image: nginx
volumes:
- ./nginx/templates/:/etc/nginx/templates/
ports:
- "8080:80"
- "13201:8080"
restart: always
networks:
- shared
depends_on:
- backend
networks:
shared:
driver: bridge