Skip to content

Commit debd70e

Browse files
authored
Merge pull request #71 from samueldasilvadev/changer-mysql-container-name
chore: change mysql container name
2 parents 13b80ec + a4c8b41 commit debd70e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DB_PASS=root
77
DB_URL=mysql
88
DB_PORT=3306
99
DB_DATABASE=skeleton
10-
DB_DRIVER=mysql
10+
DB_DRIVER=zord-mysql
1111

1212
DB_TEST_DATABASE=test
1313

compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ services:
1010
- "9000:9000"
1111
command: air http
1212
depends_on:
13-
mysql:
13+
zord-mysql:
1414
condition: service_healthy
1515
volumes:
1616
- ./:/app
1717

18-
mysql:
18+
zord-mysql:
1919
image: mysql:latest
20-
container_name: mysql
20+
container_name: zord-mysql
2121
healthcheck:
2222
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
2323
start_period: 5s

0 commit comments

Comments
 (0)