добавил конфигурацию докера
This commit is contained in:
parent
9923f3214a
commit
f280fdc1bb
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app_moona:
|
||||
build:
|
||||
context: ./incepted
|
||||
volumes:
|
||||
- ./incepted/db:/app/db
|
||||
- ./incepted/static:/app/static
|
||||
environment:
|
||||
- SECRET_KEY=your-secret-key
|
||||
restart: always
|
||||
ports:
|
||||
- "5001:5000"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
cpus: "0.5"
|
||||
reservations:
|
||||
memory: 128M
|
||||
cpus: "0.2"
|
||||
Loading…
x
Reference in New Issue
Block a user