-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
175 lines (152 loc) · 3.88 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
version: '3'
services:
app:
container_name: app
image: app
build:
context: .
dockerfile: ./docker/app/Dockerfile
working_dir: /var/www
# Enable for local development
# volumes:
# - .:/var/www
restart: unless-stopped
environment:
APP_NAME: ${APP_NAME}
APP_ENV: ${APP_ENV}
APP_KEY: ${APP_KEY}
APP_DEBUG: ${APP_DEBUG}
APP_URL: ${APP_URL}
LOG_CHANNEL: ${LOG_CHANNEL}
DB_CONNECTION: ${DB_CONNECTION}
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_DATABASE: ${DB_DATABASE}
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
BROADCAST_DRIVER: ${BROADCAST_DRIVER}
CACHE_DRIVER: ${CACHE_DRIVER}
QUEUE_CONNECTION: ${QUEUE_CONNECTION}
SESSION_DRIVER: ${SESSION_DRIVER}
SESSION_LIFETIME: ${SESSION_LIFETIME}
SESSION_SECURE_COOKIE: ${SESSION_SECURE_COOKIE}
REDIS_HOST: ${REDIS_HOST}
REDIS_PASSWORD: ${REDIS_PASSWORD}
REDIS_PORT: ${REDIS_PORT}
MAIL_DRIVER: ${MAIL_DRIVER}
MAIL_HOST: ${MAIL_HOST}
MAIL_PORT: ${MAIL_PORT}
MAIL_USERNAME: ${MAIL_USERNAME}
MAIL_PASSWORD: ${MAIL_PASSWORD}
MAIL_ENCRYPTION: ${MAIL_ENCRYPTION}
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS}
MAIL_FROM_NAME: ${MAIL_FROM_NAME}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
AWS_BUCKET: ${AWS_BUCKET}
PUSHER_APP_ID: ${PUSHER_APP_ID}
PUSHER_APP_KEY: ${PUSHER_APP_KEY}
PUSHER_APP_SECRET: ${PUSHER_APP_SECRET}
PUSHER_APP_CLUSTER: ${PUSHER_APP_CLUSTER}
MIX_PUSHER_APP_KEY: ${MIX_PUSHER_APP_KEY}
MIX_PUSHER_APP_CLUSTER: ${MIX_PUSHER_APP_CLUSTER}
TAP_API: ${TAP_API}
OKTA_ISSUER: ${OKTA_ISSUER}
OKTA_CLIENT_ID: ${OKTA_CLIENT_ID}
OKTA_CLIENT_SECRET: ${OKTA_CLIENT_SECRET}
AAF_SECRET: ${AAF_SECRET}
AAF_AUD: ${AAF_AUD}
AAF_LINK: ${AAF_LINK}
LTI_KEY: ${LTI_KEY}
LTI_SECRET: ${LTI_SECRET}
depends_on:
- redis
- postgres
networks:
- app-network
- tap-network
nginx:
container_name: nginx
build:
context: .
dockerfile: ./docker/nginx/Dockerfile
args:
network_mode: bridge
# Enable for local development
# volumes:
# - ./public/css:/var/www/css
# - ./public/js:/var/www/js
restart: unless-stopped
ports:
- "80:80"
networks:
- app-network
- socket-network
redis:
container_name: redis
image: redis
volumes:
- ${DATA_PATH_HOST}/redis:/data
networks:
- app-network
- socket-network
postgres:
container_name: postgres
image: postgres
ports:
- "5433:5432"
volumes:
- ${DATA_PATH_HOST}/postgres:/data
environment:
POSTGRES_DB: ${DB_DATABASE}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
networks:
- app-network
socketio:
container_name: socketio
image: socketio
build:
context: .
dockerfile: ./docker/socketio/Dockerfile
environment:
REDIS_HOST: ${REDIS_HOST}
REDIS_PASSWORD: ${REDIS_PASSWORD}
REDIS_PORT: ${REDIS_PORT}
depends_on:
- redis
networks:
- socket-network
tap:
container_name: tap
image: utscichub/tap:3.2.2
environment:
ATHANOR_URL: ${ATHANOR_URL}
TAP_HOSTS: ${TAP_HOSTS}
TAP_SECRET: ${TAP_SECRET}
ports:
- '9000:9000'
networks:
- tap-network
athanor:
container_name: athanor
image: utscichub/athanor:0.9.4.1
environment:
GRAMMAR_PATH: /opt/docker/grammar
ports:
- '8083:8083'
networks:
- tap-network
networks:
app-network:
driver: bridge
socket-network:
driver: bridge
tap-network:
driver: bridge
volumes:
postgres:
driver: local
redis:
driver: local