initial functionality and styling pass
This commit is contained in:
+3
-25
@@ -1,32 +1,10 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: flask_app
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "5000:5000"
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
FLASK_ENV: development
|
||||
SECRET_KEY: your-secret-key
|
||||
DB_USER: postgres
|
||||
DB_PASS: postgres
|
||||
DB_HOST: db
|
||||
DB_PORT: 5432
|
||||
DB_NAME: flask_app
|
||||
volumes:
|
||||
- .:/app
|
||||
- ./:/app
|
||||
- ./import:/import
|
||||
- ./images:/images
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
||||
Reference in New Issue
Block a user