-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
75 lines (70 loc) · 1.78 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
69
70
71
72
73
74
75
version: "2"
services:
# Isaac Physics
isaac-phy-tickets:
container_name: isaac-phy-tickets
build: .
links:
- "isaac-phy-tickets-db:db-server"
restart: always
volumes:
- "./osTicket/upload:/var/www/html:ro"
- "./php.ini:/usr/local/etc/php/php.ini"
isaac-phy-tickets-db:
container_name: isaac-phy-tickets-db
image: mysql:5.7
restart: always
volumes:
- "/isaac/tickets-phy:/var/lib/mysql:rw"
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_USER: osticket
MYSQL_PASSWORD: osticket
MYSQL_DATABASE: osticket
# # Isaac CS:
# isaac-cs-tickets:
# container_name: isaac-cs-tickets
# build: .
# links:
# - "isaac-cs-tickets-db:db-server"
# restart: always
# volumes:
# - "./osTicket/upload:/var/www/html:ro"
# - "./php.ini:/usr/local/etc/php/php.ini"
#
# isaac-cs-tickets-db:
# container_name: isaac-cs-tickets-db
# image: mysql:5.7
# restart: always
# volumes:
# - "/isaac/tickets-cs:/var/lib/mysql:rw"
# environment:
# MYSQL_RANDOM_ROOT_PASSWORD: "yes"
# MYSQL_USER: osticket
# MYSQL_PASSWORD: osticket
# MYSQL_DATABASE: osticket
# Ada CS:
ada-cs-tickets:
container_name: ada-cs-tickets
build: .
links:
- "ada-cs-tickets-db:db-server"
restart: always
volumes:
- "./osTicket/upload:/var/www/html:ro"
- "./php.ini:/usr/local/etc/php/php.ini"
ada-cs-tickets-db:
container_name: ada-cs-tickets-db
image: mysql:5.7
restart: always
volumes:
- "/isaac/tickets-ada:/var/lib/mysql:rw"
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_USER: osticket
MYSQL_PASSWORD: osticket
MYSQL_DATABASE: osticket
networks:
default:
external:
name: isaac