feat: add dockerized demo deployment

This commit is contained in:
2026-06-18 20:58:28 +03:30
parent e859075245
commit 49114c30a6
5 changed files with 178 additions and 0 deletions

30
docker-compose.yml Normal file
View File

@@ -0,0 +1,30 @@
services:
chatroom-app:
build:
context: .
image: chatroom-app:demo
restart: unless-stopped
expose:
- "8000"
networks:
- chatroom_internal
chatroom-nginx:
image: nginx:alpine
restart: unless-stopped
depends_on:
- chatroom-app
expose:
- "80"
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- chatroom_internal
- caddy_proxy
networks:
chatroom_internal:
driver: bridge
caddy_proxy:
external: true
name: caddy_proxy