-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 845 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 845 Bytes
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
version: "3.1"
services:
mysql:
container_name: helppo_mysql
image: mysql:5.7
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: test_db
ports:
- 7810:3306
postgres:
container_name: helppo_postgres
image: postgres:12.3
restart: always
environment:
POSTGRES_PASSWORD: secret
POSTGRES_DB: test_db
ports:
- 7811:5432
# Used by the dev server
dev_mysql:
container_name: helppo_dev_mysql
image: mysql:5.7
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: dev_db
ports:
- 7812:3306
volumes:
- ./src/server/devServer/devServerSeed.sql:/docker-entrypoint-initdb.d/devServerSeed.sql