Parent: [4b4896] (diff)

Child: [798bd2] (diff)

Download this file

docker-compose.yml    30 lines (28 with data), 791 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
#made by Miguel Rodrigues @ KBZ miguel.rodrigues@knowledgebiz.pt
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