-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
68 lines (62 loc) · 1.27 KB
/
docker-compose.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '2'
services:
providence:
depends_on:
- db
image: canelrom1/providence:latest
container_name: providence_ca1
build:
context: ./providence
networks:
- ca_lan
ports:
- "8080:80"
environment:
MYSQL_ADDR: "db"
MYSQL_USER: "root"
MYSQL_ROOT_PASS: "123456"
CA_DB_NAME: "collectiveaccess"
CA_DB_USER: "root"
CA_DB_PASS: "123456"
volumes:
- local-ca:/var/www/html
pawtucket:
depends_on:
- db
- providence
image: canelrom1/pawtucket:latest
container_name: pawtucket2_ca1
build:
context: ./pawtucket2
networks:
- ca_lan
ports:
- "80:80"
environment:
MYSQL_ADDR: "db"
MYSQL_USER: "root"
MYSQL_ROOT_PASS: "123456"
CA_DB_NAME: "collectiveaccess"
CA_DB_USER: "root"
CA_DB_PASS: "123456"
volumes:
- local-ca:/var/www/html
db:
image: mariadb:latest
container_name: database_ca1
volumes:
- mariadb-ca:/var/lib/mysql
networks:
- ca_lan
environment:
MYSQL_ROOT_PASSWORD: "123456"
MYSQL_DATABASE: ca
volumes:
mariadb-ca:
driver: local
local-ca:
driver: local
networks:
ca_lan:
driver: bridge
# vim: ft=yaml et tw=80 sts=2 sw=2 ts=2