Initial commit

This commit is contained in:
2025-09-04 11:27:16 +03:00
commit c1a75f783a
29 changed files with 2153 additions and 0 deletions

33
docker-compose.yml Normal file
View File

@@ -0,0 +1,33 @@
version: '3.8'
services:
db:
image: postgres:15
container_name: postgres-survey
environment:
POSTGRES_USER: servey
POSTGRES_PASSWORD: utOgbZ09servey
POSTGRES_DB: survey
volumes:
- pg_data:/var/lib/postgresql/data
restart: always
flask-app:
build: .
ports:
- "3333:5000"
volumes:
- .:/app
- ./survey.db:/app/survey.db
environment:
- FLASK_ENV=development
- POSTGRES_USER=servey
- POSTGRES_PASSWORD=utOgbZ09servey
- POSTGRES_DB=survey
- POSTGRES_HOST=db
depends_on:
- db
restart: always
volumes:
pg_data: