chore: env files for docker-compose

This commit is contained in:
원더 2021-02-08 22:39:26 +09:00
parent af1c24f89c
commit 12dda17c0a

View File

@ -5,8 +5,8 @@ services:
image: wonderlandpark/mariadb-mroonga:latest image: wonderlandpark/mariadb-mroonga:latest
hostname: mysql hostname: mysql
container_name: mysql container_name: mysql
environment: env_file:
MARIADB_ROOT_PASSWORD: "${MARIADB_ROOT_PASSWORD}" - .env
command: command:
- --character-set-server=utf8mb4 - --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci - --collation-server=utf8mb4_unicode_ci
@ -18,4 +18,6 @@ services:
- 4000:3000 - 4000:3000
links: links:
- mysql - mysql
env_file:
- .env.production.local
image: wonderlandpark/koreanbots:latest image: wonderlandpark/koreanbots:latest