-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
docker-compose.yml
44 lines (41 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.8'
services:
mysql:
platform: linux/x86_64
image: mysql:8.0
command: --default-authentication-plugin=mysql_native_password --sync_binlog=0 --innodb_doublewrite=OFF --innodb-flush-log-at-trx-commit=0 --innodb-flush-method=nosync
container_name: mysql
env_file: ./.env
environment:
- MYSQL_USER=$MYSQL_USER
- MYSQL_PASSWORD=$MYSQL_PASSWORD
- MYSQL_DATABASE=$MYSQL_DATABASE
- MYSQL_ROOT_PASSWORD=$MYSQL_PASSWORD
ports:
- $MYSQL_PORT:3306
expose:
- $MYSQL_PORT
pg:
image: postgres:11
container_name: pg
env_file: ./.env
environment:
- POSTGRES_DB=$PG_DATABASE
- POSTGRES_USER=$PG_USER
- POSTGRES_PASSWORD=$PG_PASSWORD
ports:
- $PG_PORT:5432
expose:
- $PG_PORT
mssql:
platform: linux/x86_64
image: mcr.microsoft.com/mssql/server:2019-latest
container_name: mssql
env_file: ./.env
environment:
- SA_PASSWORD=$MSSQL_PASSWORD
- ACCEPT_EULA='Y'
ports:
- $MSSQL_PORT:1433
expose:
- $MSSQL_PORT