|
a/docker-compose.yml |
|
b/docker-compose.yml |
|
... |
|
... |
19 |
MYSQL_ROOT_PASSWORD: root
|
19 |
MYSQL_ROOT_PASSWORD: root
|
20 |
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
|
20 |
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
|
21 |
volumes:
|
21 |
volumes:
|
22 |
- ./dbdata:/var/lib/mysql
|
22 |
- ./dbdata:/var/lib/mysql
|
23 |
- ./DB:/docker-entrypoint-initdb.d
|
23 |
- ./DB:/docker-entrypoint-initdb.d
|
24 |
|
24 |
|
25 |
#version: '3'
|
|
|
26 |
#services:
|
|
|
27 |
# neenabler:
|
|
|
28 |
# container_name: notificationenabler
|
|
|
29 |
# links:
|
|
|
30 |
# - mysqlservice
|
|
|
31 |
# build: .
|
|
|
32 |
# ports:
|
|
|
33 |
# - "5000:5000"
|
|
|
34 |
# depends_on:
|
|
|
35 |
# - mysqlservice
|
|
|
36 |
# env_file: data.env
|
|
|
37 |
# mysqlservice:
|
|
|
38 |
# container_name: "mysqlservice"
|
|
|
39 |
# image: mysql:5.7
|
|
|
40 |
# ports:
|
|
|
41 |
# - "3306:3306"
|
|
|
42 |
# restart: always
|
|
|
43 |
# environment:
|
|
|
44 |
# MYSQL_DATABASE: notifications
|
|
|
45 |
# MYSQL_USER: mrodrigues
|
|
|
46 |
# MYSQL_PASSWORD: rodriguesm
|
|
|
47 |
# MYSQL_ROOT_PASSWORD: root
|
|
|
48 |
# MYSQL_ALLOW_EMPTY_PASSWORD: "no"
|
|
|
49 |
# volumes:
|
|
|
50 |
# - ./dbdata:/var/lib/mysql
|
|
|
51 |
# - ./DB:/docker-entrypoint-initdb.d
|
|
|
52 |
# |
|
|