-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
49 lines (44 loc) · 1.08 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
version: '2'
services:
db:
image: 7cav/cavdb
container_name: db
restart: always
environment:
MYSQL_USER: xenforo
MYSQL_PASSWORD: xenforo
MYSQL_ROOT_PASSWORD: xenforo
MYSQL_DATABASE: xenforo
volumes:
- db_data:/var/lib/mysql
ports:
- "3306:3306"
web:
depends_on:
- db
image: 7cav/cavweb
restart: always
environment:
DB_HOST: db
DB_USERNAME: xenforo
DB_PASSWORD: xenforo
DB_NAME: xenforo
volumes:
- data:/var/www/html/data
- internal_data:/var/www/html/internal_data
- ./js/CavTools:/var/www/html/js/CavTools
- ./library/CavTools:/var/www/html/library/CavTools
lb:
image: dockercloud/haproxy:latest
links:
- web
ports:
- "8080:80"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
db_data:
data:
internal_data:
js:
CavTools: