Parent: [fe3f30] (diff)

Child: [c75285] (diff)

Download this file

docker-compose.yml    52 lines (50 with data), 1.4 kB

 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
45
46
47
48
49
50
51
52
#made by Miguel Rodrigues @ KBZ miguel.rodrigues@knowledgebiz.pt
version: '3'
services:
neenabler:
build: .
ports:
- "5919:5000"
depends_on:
- mysqlservice
env_file: data.env
mysqlservice:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: notifications
MYSQL_USER: mrodrigues
MYSQL_PASSWORD: rodriguesm
MYSQL_ROOT_PASSWORD: root
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
volumes:
- ./dbdata:/var/lib/mysql
- ./DB:/docker-entrypoint-initdb.d
#version: '3'
#services:
# neenabler:
# container_name: notificationenabler
# links:
# - mysqlservice
# build: .
# ports:
# - "5000:5000"
# depends_on:
# - mysqlservice
# env_file: data.env
# mysqlservice:
# container_name: "mysqlservice"
# image: mysql:5.7
# ports:
# - "3306:3306"
# restart: always
# environment:
# MYSQL_DATABASE: notifications
# MYSQL_USER: mrodrigues
# MYSQL_PASSWORD: rodriguesm
# MYSQL_ROOT_PASSWORD: root
# MYSQL_ALLOW_EMPTY_PASSWORD: "no"
# volumes:
# - ./dbdata:/var/lib/mysql
# - ./DB:/docker-entrypoint-initdb.d
#