-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
134 lines (131 loc) · 3.94 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
#x-shared-envs: &shared-envs
# APP_ENV: ''
# NONCE_REPLACEMENT_STRING: ''
services:
nginx:
image: abc.docker-registry.gewis.nl/web/gewisweb/nginx:latest
env_file:
- .env
# environment:
# <<: *shared-envs
# NGINX_REQUIRE_AUTH: ''
depends_on:
- web
- glide
- matomo
volumes:
- gewisweb_public:/code/public:ro
- gewisweb_glide_public:/glide/public:ro
- gewisweb_matomo:/var/www/html:ro
- gewisweb_logs:/etc/nginx/logs:rw
networks:
- gewisweb_network
ports:
- "9200:9200"
- "9201:9201"
- "9202:9202"
restart: unless-stopped
web:
image: abc.docker-registry.gewis.nl/web/gewisweb/web:production
env_file:
- .env
# environment:
# <<: *shared-envs
# GLIDE_HOST: ''
# GLIDE_KEY: ''
# DOCKER_GOOGLE_API_KEY: ''
# DOCKER_GOOGLE_CALENDAR_KEY: ''
# DOCKER_SUPREMUM_API_KEY: ''
# DOCKER_DB_HOST: ''
# DOCKER_DB_PORT:
# DOCKER_DB_USERNAME: ''
# DOCKER_DB_PASSWORD: ''
# DOCKER_DB_DATABASE: ''
# DOCKER_DB2_HOST: ''
# DOCKER_DB2_PORT:
# DOCKER_DB2_USERNAME: ''
# DOCKER_DB2_PASSWORD: ''
# DOCKER_DB2_DATABASE: ''
# MAIL_FROM_ADDRESS=
# MAIL_FROM_NAME='Study Association GEWIS'
# MAIL_TO_ACTIVITY_CREATION_ADDRESS=
# MAIL_TO_ACTIVITY_CREATION_NAME=
# MAIL_TO_ACTIVITY_CREATION_REQUIRE_GEFLITST_ADDRESS=
# MAIL_TO_ACTIVITY_CREATION_REQUIRE_GEFLITST_NAME=
# MAIL_TO_ACTIVITY_CALENDAR_ADDRESS=
# MAIL_TO_ACTIVITY_CALENDAR_NAME=
# MAIL_TO_ORGAN_UPDATE_ADDRESS=
# MAIL_TO_ORGAN_UPDATE_NAME=
# MAIL_TO_POLL_CREATION_ADDRESS=
# MAIL_TO_POLL_CREATION_NAME=
# MATOMO_DOMAIN: ''
# SSH_USERNAME: ''
# SSH_PASSWORD: ''
# SSH_REMOTE: ''
depends_on:
- memcached
- postfix
volumes:
- gewisweb_data:/code/data:rw
- gewisweb_public:/code/public:rw
networks:
- gewisweb_network
restart: unless-stopped
glide:
image: abc.docker-registry.gewis.nl/web/gewisweb/glide:latest
env_file:
- .env
# environment:
# GLIDE_HOST: ''
# GLIDE_KEY: ''
volumes:
- gewisweb_glide_cache:/glide/cache:rw
- gewisweb_glide_public:/glide/public:rw
- gewisweb_public:/code/public:rw
networks:
- gewisweb_network
restart: unless-stopped
postfix:
image: juanluisbaptiste/postfix
env_file:
- .env
# environment:
# SMTP_SERVER: ''
# SMTP_PORT: ''
# SMTP_USERNAME: ''
# SMTP_PASSWORD: ''
# SERVER_HOSTNAME: ''
networks:
- gewisweb_network
restart: unless-stopped
stop_grace_period: 60s
memcached:
image: memcached
entrypoint: ['memcached', '-m 256']
networks:
- gewisweb_network
restart: unless-stopped
matomo:
image: abc.docker-registry.gewis.nl/web/gewisweb/matomo:latest
env_file:
- .env
# environment:
# MATOMO_DATABASE_HOST: ''
# MATOMO_DATABASE_PORT: ''
# MATOMO_DATABASE_USERNAME: ''
# MATOMO_DATABASE_PASSWORD: ''
# MATOMO_DATABASE_DBNAME: ''
volumes:
- gewisweb_matomo:/var/www/html:rw
networks:
- gewisweb_network
restart: unless-stopped
volumes:
gewisweb_data:
gewisweb_public:
gewisweb_glide_cache:
gewisweb_glide_public:
gewisweb_logs:
gewisweb_matomo:
networks:
gewisweb_network: