-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
64 lines (62 loc) · 1.96 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
---
version: '3.2'
services:
readthedocs:
container_name: x-readthedocs
build: ./readthedocs
command:
- /usr/local/bin/uwsgi
- /var/readthedocs/readthedocs.ini
restart: always
links:
- elasticsearch:elasticsearch
volumes:
- type: volume
source: readthedocs
target: /var/readthedocs
environment:
PRODUCTION_DOMAIN: ${RTD_PRODUCTION_DOMAIN}
TIME_ZONE: ${RTD_TIME_ZONE}
EMAIL_HOST: ${RTD_EMAIL_HOST}
EMAIL_PORT: ${RTD_EMAIL_PORT}
EMAIL_HOST_USER: ${RTD_EMAIL_HOST_USER}
EMAIL_HOST_PASSWORD: ${RTD_EMAIL_HOST_PASSWORD}
DEFAULT_FROM_EMAIL: ${RTD_DEFAULT_FROM_EMAIL}
ES_HOSTS: ${RTD_ES_HOSTS}
ALLOW_ADMIN: ${RTD_ALLOW_ADMIN}
DEBUG: ${RTD_DEBUG}
nginx:
image: nginx:1.13
container_name: x-nginx
restart: always
links:
- readthedocs:readthedocs
ports:
- 80:80
- 443:443
volumes:
- type: volume
source: readthedocs
target: /var/readthedocs
readonly: true
- type: bind
source: ./nginx/readthedocs.conf
target: /etc/nginx/conf.d/default.conf
readonly: true
- type: bind
source: ./nginx/gridsumdissecrot.com_sha256.cer
target: /etc/nginx/gridsumdissecrot.com_sha256.cer
readonly: true
- type: bind
source: ./nginx/gridsumdissecrot.com_sha256.key
target: /etc/nginx/gridsumdissecrot.com_sha256.key
readonly: true
elasticsearch:
image: qqbuby/elasticsearch:1.7.6-icu
restart: always
container_name: x-elasticsearch
volumes:
- elasticsearch:/usr/share/elasticsearch/data
volumes:
readthedocs:
elasticsearch: