добавил порты в докер компоус
This commit is contained in:
parent
7ce93213ba
commit
c8e8ec70e6
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,3 +6,5 @@
|
||||
__pycache__
|
||||
/protect.moona
|
||||
/main.log
|
||||
.idea
|
||||
.idea/
|
||||
@ -10,3 +10,13 @@ services:
|
||||
environment:
|
||||
- SECRET_KEY=your-secret-key
|
||||
restart: always
|
||||
ports:
|
||||
- "5000:5000"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
cpus: "0.5"
|
||||
reservations:
|
||||
memory: 128M
|
||||
cpus: "0.2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user