Skip to content

Commit

Permalink
Merge pull request #201 from flufftronix/patch-1
Browse files Browse the repository at this point in the history
Update docker-compose.yml
  • Loading branch information
mchangrh authored Nov 13, 2021
2 parents db8ef87 + d506e10 commit accd2bf
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
version: "3"
services:
niles:
image: niles-bot/niles:latest
container_name: niles
restart: unless-stopped
volumes:
- type: volumes
source: niles-stores
target: /usr/src/niles/stores
- type: bind
source: ./secrets.json
target: /usr/src/niles/config/secrets.json
# at least one of oauth2 or service account is required
# if you are using oauth2 only, remove this volume
- type: bind
source: ./niles-sa.json
target: /usr/src/niles/config/niles-sa.json
# if you are using service account only, remove this volume
- type: bind
source: ./niles-oauth.json
target: /usr/src/niles/config/niles-oauth.json
image: nilesbot/niles:latest
container_name: niles
restart: unless-stopped
volumes:
- type: volumes
source: niles-stores
target: /usr/src/niles/stores
- type: bind
source: ./secrets.json
target: /usr/src/niles/config/secrets.json
# at least one of oauth2 or service account is required
# if you are using oauth2 only, remove this volume
- type: bind
source: ./niles-sa.json
target: /usr/src/niles/config/niles-sa.json
# if you are using service account only, remove this volume
- type: bind
source: ./niles-oauth.json
target: /usr/src/niles/config/niles-oauth.json

volumes:
niles-stores:
niles-stores:

0 comments on commit accd2bf

Please sign in to comment.