diff --git a/docker-compose.yml b/docker-compose.yml index a44894f..5c61cda 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: @@ -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