Persistent data
This commit is contained in:
@@ -9,6 +9,9 @@ services:
|
|||||||
- FLASK_APP=app.py
|
- FLASK_APP=app.py
|
||||||
- FLASK_ENV=production
|
- FLASK_ENV=production
|
||||||
- DATABASE_URL=postgresql://postgres:postgres@db:5432/verpotjelot
|
- DATABASE_URL=postgresql://postgres:postgres@db:5432/verpotjelot
|
||||||
|
volumes:
|
||||||
|
- uploads_data:/app/static/uploads
|
||||||
|
- icons_data:/app/static/icons
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -25,4 +28,8 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
name: verpotjelot_postgres_data
|
name: verpotjelot_postgres_data
|
||||||
|
uploads_data:
|
||||||
|
name: verpotjelot_uploads_data
|
||||||
|
icons_data:
|
||||||
|
name: verpotjelot_icons_data
|
||||||
Reference in New Issue
Block a user