We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fa1310 commit ba23738Copy full SHA for ba23738
2 files changed
dev.docker-compose.yml
@@ -0,0 +1,21 @@
1
+services:
2
+ bot:
3
+ build:
4
+ context: .
5
+ dockerfile: Dockerfile
6
+ env_file:
7
+ - .env
8
+ environment:
9
+ - CONNECTION_URI=mongodb://mongo
10
+ depends_on:
11
+ - mongo
12
+ mongo:
13
+ image: mongo:7
14
+ restart: always
15
+ volumes:
16
+ - mongodb:/data/db
17
+ ports:
18
+ - 127.0.0.1:27017:27017
19
+
20
+volumes:
21
+ mongodb:
docker-compose.yml
@@ -1,4 +1,3 @@
-version: "3.7"
services:
bot:
image: ghcr.io/raidensakura/modmail:stable
@@ -12,7 +11,7 @@ services:
- mongo
mongo:
image: mongo
- container_name: mongodb
+ container_name: mongodb:7
restart: always
volumes:
- mongodb:/data/db
0 commit comments