Skip to content

Commit

Permalink
Document docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
defvs authored Dec 16, 2024
1 parent 245e04f commit e5381f3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
version: '3.8'
# Example docker-compose file for BrainzBot
# Make sure that either environment variables for TOKEN and LISTENBRAINZ_TOKEN are set,
# or that you set them directly here.
#
# You may change the binding of the config.json file to point it to somewhere else.
# Make sure it exists and contains what's in config.json.example

services:
brainzbot:
Expand All @@ -7,10 +12,8 @@ services:
- TOKEN=${TOKEN}
- DATABASE_URL=mongodb://mongodb:27017/brainzbot
- LISTENBRAINZ_TOKEN=${LISTENBRAINZ_TOKEN}
volumes:
volumes: # Change the path before the `:` as needed
- ./config.json:/usr/src/app/config.json
ports:
- "3000:3000"
depends_on:
- mongodb

Expand Down

0 comments on commit e5381f3

Please sign in to comment.