-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 980 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (38 loc) · 980 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
33
34
35
36
37
38
39
version: '2'
services:
# sqlscript:
# build:
# context: database/
# dockerfile: Dockerfile
sli.do:
container_name: 'sli.do.web'
build:
context: sli.do/
dockerfile: Dockerfile
ports:
- "3000:5000"
sli.do.server:
container_name: 'sli-do-server'
build:
context: sli.do.server/
dockerfile: Dockerfile
ports:
- "1337:1337"
links:
- mysqldb
mysqldb:
image: mysql
container_name: 'mysql-localhost'
restart: always
environment:
- MYSQL_ROOT_PASSWORD=123
- MYSQL_DATABASE=sli.do
- MYSQL_USER=sli
- MYSQL_PASSWORD=123
ports:
- "3306:3306"
volumes:
# - "./data/db/mysql:/var/lib/mysql"
- "./database:/docker-entrypoint-initdb.d"
# volumes_from:
# - sqlscript