добавил порты в докер компоус

This commit is contained in:
Андрей Дувакин 2024-12-06 12:45:47 +05:00
parent 7ce93213ba
commit c8e8ec70e6
2 changed files with 12 additions and 0 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@
__pycache__
/protect.moona
/main.log
.idea
.idea/

View File

@ -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"