forked from EmailsEmotions/EE_backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabases-docker-compose.yaml
38 lines (38 loc) · 989 Bytes
/
databases-docker-compose.yaml
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
version: '3'
services:
db-formality:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'formality'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'emailsemotions'
MYSQL_ROOT_PASSWORD: 'emailsemotions'
ports:
- '3306:3306'
volumes:
- './docker/databases/formality:/docker-entrypoint-initdb.d'
db-emotions:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'emotions'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'emailsemotions'
MYSQL_ROOT_PASSWORD: 'emailsemotions'
ports:
- '3307:3306'
volumes:
- './docker/databases/emotions:/docker-entrypoint-initdb.d'
db-users:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'users'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'emailsemotions'
MYSQL_ROOT_PASSWORD: 'emailsemotions'
ports:
- '3308:3306'
volumes:
- './docker/databases/users:/docker-entrypoint-initdb.d'