-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 chore(docker-compose.yml): update env_file path to stack.env for co…
…nsistency 🔧 refactor(docker-compose.yml): move network definition to the top for better readability and organization
- Loading branch information
1 parent
2d0f719
commit 91ed40b
Showing
1 changed file
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
version: "3" | ||
|
||
services: | ||
lava: | ||
build: . | ||
restart: always | ||
env_file: | ||
- .env | ||
environment: | ||
- TOKEN=$TOKEN | ||
- SPOTIFY_CLIENT_ID=$SPOTIFY_CLIENT_ID | ||
- SPOTIFY_CLIENT_SECRET=$SPOTIFY_CLIENT_SECRET | ||
- SPOTIFY_REDIRECT_URI=$SPOTIFY_REDIRECT_URI | ||
volumes: | ||
- "./configs:/configs" | ||
ports: | ||
- "8080:8080" | ||
networks: | ||
- lava | ||
|
||
lavalink: | ||
image: fredboat/lavalink | ||
hostname: lavalink | ||
restart: always | ||
volumes: | ||
- "./configs/application.yml:/opt/Lavalink/application.yml:r" | ||
networks: | ||
- lava | ||
|
||
networks: | ||
lava: | ||
version: "3" | ||
|
||
services: | ||
lava: | ||
build: . | ||
restart: always | ||
env_file: | ||
- stack.env | ||
environment: | ||
- TOKEN=$TOKEN | ||
- SPOTIFY_CLIENT_ID=$SPOTIFY_CLIENT_ID | ||
- SPOTIFY_CLIENT_SECRET=$SPOTIFY_CLIENT_SECRET | ||
- SPOTIFY_REDIRECT_URI=$SPOTIFY_REDIRECT_URI | ||
volumes: | ||
- "./configs:/configs" | ||
ports: | ||
- "8080:8080" | ||
networks: | ||
- lava | ||
|
||
lavalink: | ||
image: fredboat/lavalink | ||
hostname: lavalink | ||
restart: always | ||
volumes: | ||
- "./configs/application.yml:/opt/Lavalink/application.yml:r" | ||
networks: | ||
- lava | ||
|
||
networks: | ||
lava: |