Skip to content

Commit

Permalink
don't override docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aco committed Aug 22, 2022
1 parent 5d15237 commit 9499faf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
node_modules
npm-debug.log
package-lock.json
logs/*
logs/*
docker-compose.*
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ config/config.json
package-lock.json
*.sqlite
.env
*.log
*.log
docker-compose.yml
17 changes: 17 additions & 0 deletions docker-compose.yml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: '3.5'
services:
discordrolebot:
#build:
# context: ./
image: ghcr.io/acocalypso/discordrolemanager:master
ports:
- "9000:9000"
- "40444:40444"
volumes:
- ./config/:/usr/src/app/config/
- ./locale/:/usr/src/app/locale/
- ./logs/:/usr/src/app/logs/
security_opt:
- no-new-privileges:true
#if you host your db locally use network_mode
#network_mode: "host"

0 comments on commit 9499faf

Please sign in to comment.