Move port opening to proper container
This commit is contained in:
parent
50ca52e781
commit
40a3f96df4
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,6 @@ services:
|
|||
rust-engine:
|
||||
image: ghcr.io/${REPO_NAME_LOWER}/rust-engine:${IMAGE_TAG}
|
||||
restart: always
|
||||
ports:
|
||||
- "0.0.0.0:3306:3306"
|
||||
environment:
|
||||
- DATABASE_URL=mysql://${MYSQL_USER}:${MYSQL_PASSWORD}@mysql:3306/${MYSQL_DATABASE}
|
||||
depends_on:
|
||||
|
|
@ -28,6 +26,8 @@ services:
|
|||
mysql:
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
ports:
|
||||
- "0.0.0.0:3306:3306"
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue