Skip to content

Commit

Permalink
Tweak docker-compose.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed May 14, 2024
1 parent 63cece8 commit 7965498
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,26 @@ services:
- postgres
- mysql
environment:
POSTGRES_HOST: postgres
POSTGRES_HOST: mito-test-postgres
POSTGRES_USER: mito
POSTGRES_PASS: mito
MYSQL_HOST: mysql
MYSQL_HOST: mito-test-mysql
MYSQL_USER: root
MYSQL_PASS: mito

postgres:
container_name: mito-postgres
image: "postgres:10"
hostname: mito-test-postgres
restart: always
environment:
POSTGRES_USER: mito
POSTGRES_PASSWORD: mito

mysql:
container_name: mito-mysql
image: "mysql:8"
image: "mysql:8.4"
hostname: mito-test-mysql
restart: always
command: --mysql_native_password=ON
environment:
Expand Down

0 comments on commit 7965498

Please sign in to comment.