-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
66 lines (64 loc) · 1.53 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
# Spin up ASQ relying on the Docker bridge network
# MAINTAINER: Vincenzo Ferme <[email protected]>
version: '2.1'
services:
asq:
image: ${DOCKER_HUB_REPO:-asqhub/asq}:${DOCKER_HUB_IMAGE_TAG:-devel}
container_name: asq
environment:
HOST: ${HOST:-127.0.0.1}
MONGO_DB_NAME: asq
MONGO_HOST: mongo
REDIS_HOST: redis
REVERSE_PROXY_HOST: ${HOST:-127.0.0.1}
SERVER_NAME: ${SERVER_NAME:-_}
REVERSE_PROXY_SECURE: 'false'
USE_REVERSE_PROXY: 'true'
IS_RANCHER: 'false'
NGINX_CLIENT_MAX_BODY_SIZE: '100m'
ENABLE_LDAP: ${ENABLE_LDAP:-'false'}
# Remove the following four variables if not needed for your deployment
LDAP_URL: ${LDAP_URL}
LDAP_SEARCH_FILTER: ${LDAP_SEARCH_FILTER}
LDAP_SEARCH_BASE: ${LDAP_SEARCH_BASE:-'o=example'}
LDAP_SEARCH_SCOPE: ${LDAP_SEARCH_SCOPE:-sub}
volumes:
- ASQSlide:/ASQ/slides
- ASQNginx:/var/cache/nginx
ports:
- 80:80
networks:
- asq
depends_on:
- mongo
- redis
links:
- 'redis:'
- 'mongo:'
mongo:
image: mongo:3.2.11
container_name: mongo
volumes:
- ASQMongoData:/data/configdb
- ASQMongoData:/data/db
networks:
- asq
redis:
image: redis:3.2.5-alpine
container_name: redis
volumes:
- ASQRedisData:/data
networks:
- asq
networks:
asq:
driver: bridge
volumes:
ASQSlide:
driver: local
ASQNginx:
driver: local
ASQRedisData:
driver: local
ASQMongoData:
driver: local