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

Merged
Dmitrium12 merged 1 commits from add-docker-compose-files into master 2024-06-09 13:38:43 +07:00
2 changed files with 31 additions and 0 deletions
Showing only changes of commit d9d01f37e5 - Show all commits
+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
+11
View File
@@ -0,0 +1,11 @@
version: "3.8"
services:
mongodb:
image: mongo
restart: always
volumes:
- ./mongodb:/data/db
environment:
- TZ=Asia/Krasnoyarsk
ports:
- "27017:27017"