Initial commit
This commit is contained in:
commit
315e731234
27 changed files with 3403 additions and 0 deletions
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- FLASK_ENV=development
|
||||
- FLASK_DEBUG=1
|
||||
volumes:
|
||||
- .:/app
|
||||
command: flask run --host=0.0.0.0 --port=8000
|
||||
|
||||
# Optional: Add database service
|
||||
# db:
|
||||
# image: postgres:15
|
||||
# environment:
|
||||
# POSTGRES_DB: myapp
|
||||
# POSTGRES_USER: user
|
||||
# POSTGRES_PASSWORD: password
|
||||
# volumes:
|
||||
# - postgres_data:/var/lib/postgresql/data
|
||||
# ports:
|
||||
# - "5432:5432"
|
||||
|
||||
# volumes:
|
||||
# postgres_data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue