Initial commit
This commit is contained in:
commit
983cee0320
322 changed files with 57174 additions and 0 deletions
31
backup/first -fina app/docker-compose.yml
Executable file
31
backup/first -fina app/docker-compose.yml
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
container_name: fina-web
|
||||
ports:
|
||||
- "5001:5000"
|
||||
volumes:
|
||||
- fina-db:/app/instance
|
||||
- fina-uploads:/app/app/static/uploads
|
||||
environment:
|
||||
- FLASK_APP=wsgi.py
|
||||
- FLASK_ENV=production
|
||||
- REDIS_HOST=redis
|
||||
- REDIS_PORT=6369
|
||||
- SECRET_KEY=${SECRET_KEY:-change-this-secret-key-in-production}
|
||||
depends_on:
|
||||
- redis
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: fina-redis
|
||||
ports:
|
||||
- "6369:6379"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
fina-db:
|
||||
fina-uploads:
|
||||
Loading…
Add table
Add a link
Reference in a new issue