Skip to content

Commit

Permalink
🔄 chore(docker-compose.yml): update env_file path to stack.env for co…
Browse files Browse the repository at this point in the history
…nsistency

🔧 refactor(docker-compose.yml): move network definition to the top for better readability and organization
  • Loading branch information
Nat1anWasTaken committed Nov 19, 2023
1 parent 2d0f719 commit 91ed40b
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions docker-compose.yml
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:

0 comments on commit 91ed40b

Please sign in to comment.