Skip to content

Commit

Permalink
chore(docker): use docker networks for services
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed Feb 2, 2025
1 parent fa10cba commit 7e150fa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docker-compose-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ services:
MARIADB_ROOT_PASSWORD: "previetcomrade"
MARIADB_DATABASE: "dankabase"
ports:
- 3307:3306
- 3306:3306
volumes:
- db-config:/etc/mysql
- db-data:/var/lib/mysql
networks:
- danknetwork

yt-dl:
container_name: "yt-dl"
Expand All @@ -26,6 +28,10 @@ services:
- .env.docker
volumes:
- dankuploads-dir:/app/_serve
depends_on:
- dank-db
networks:
- danknetwork

volumes:
dankuploads-dir:
Expand All @@ -46,3 +52,6 @@ volumes:
type: none
o: bind
device: ./_db/var/

networks:
danknetwork: {}

0 comments on commit 7e150fa

Please sign in to comment.