Skip to content

Commit

Permalink
chore(dev-container):update ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaut-Mouton authored Nov 15, 2024
1 parent 64e6bf1 commit 32e71c7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions backend/.devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
version: '3.8'
services:
devcontainer:
flm-back:
build:
context: .
dockerfile: Dockerfile
volumes:
- ../..:/workspaces:cached
network_mode: service:db
command: sleep infinity
ports:
- "9090:9090"
- 9090:9090
- 3306:3306

db:
flm-db:
image: mysql:8.0.40-debian
restart: unless-stopped
network_mode: service:flm-back
volumes:
- mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: mysql
MYSQL_ROOT_PASSWORD: root

volumes:
mysql-data:
mysql-data:

0 comments on commit 32e71c7

Please sign in to comment.