Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/raidensakura/modmail int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
raidensakura committed Jul 5, 2024
2 parents 559e239 + efc330a commit 1b092f8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ celerybeat-schedule
*.sage.py

# Environments
.env
*.env
.venv
env/
venv/
Expand Down
31 changes: 31 additions & 0 deletions compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
services:
bot:
build:
context: .
container_name: modmail-develop
restart: always
ports:
- 8555:8000
volumes:
# Add your volume mount for local plugins here
- ../modmail-plugins/:/home/modmail/plugins/@local/
env_file:
- .dev.env
environment:
- CONNECTION_URI=mongodb://db
- PUID=1000
- PGID=1000
depends_on:
- db

db:
image: mongo
container_name: modmail-devdb
restart: always
ports:
- 27017:27017
volumes:
- ./env/devdb:/data/db
environment:
- PUID=1000
- PGID=1000
9 changes: 3 additions & 6 deletions docker-compose.yml → compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@ services:
container_name: modmail
restart: always
environment:
- CONNECTION_URI=mongodb://mongo
- CONNECTION_URI=mongodb://db
env_file:
- .env
depends_on:
- db

db:
image: mongo
container_name: mongodb
container_name: modmail-db
restart: always
volumes:
- mongodb:/data/db

volumes:
mongodb:
- ./env/db:/data/db

0 comments on commit 1b092f8

Please sign in to comment.