-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
35 lines (30 loc) · 914 Bytes
/
docker-compose.yaml
File metadata and controls
35 lines (30 loc) · 914 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
version: "3"
volumes:
mysql_data: {}
mariadb_data: {}
services:
# Primary services to use with this course
python: &python
image: dbwebb/courserepo:python
volumes:
- ".:/home/dbwebb/repo"
- "/home/dbwebb/repo/bin"
- "/home/dbwebb/repo/build"
- "/home/dbwebb/repo/node_modules"
- "/home/dbwebb/repo/vendor"
#- "./example/sql/inspect/my.cnf:/home/dbwebb/.my.cnf"
cli:
<<: *python
server:
<<: *python
ports:
- "18080:80"
courserepo:
image: dbwebb/courserepo:cli
volumes:
- ".:/home/dbwebb/repo"
#- "/home/dbwebb/repo/bin"
#- "/home/dbwebb/repo/build"
#- "/home/dbwebb/repo/node_modules"
#- "/home/dbwebb/repo/vendor"
#- "./example/sql/inspect/my.cnf:/home/dbwebb/.my.cnf"