add docker-compose.yml to staging version and add docker-compose-prod.yml to production version

This commit is contained in:
2024-06-09 13:34:03 +07:00
parent 8544dda455
commit d9d01f37e5
2 changed files with 31 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
version: "3.8"
services:
aero:
build: .
restart: always
volumes:
- ./:/aero
command:
- /bin/sh
- -c
- poetry run python /aero/main.py
environment:
- TZ=Asia/Krasnoyarsk
mongodb:
image: mongo
restart: always
volumes:
- ./mongodb:/data/db
environment:
- TZ=Asia/Krasnoyarsk