Initial commit

This commit is contained in:
Вечерний детектив
2026-06-28 17:24:14 +00:00
commit 36575fd0fc
17 changed files with 861 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
version: '3.8'
networks:
app_network:
driver: bridge
services:
evening_detective_server:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/evening_detective_server?sslmode=disable"
depends_on:
- postgres
restart: unless-stopped
networks:
- app_network
postgres:
image: postgres:15
container_name: postgres15
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: evening_detective_server
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- app_network
volumes:
postgres_data: