-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·137 lines (125 loc) · 3.09 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
version: '3'
services:
las:
container_name: las
build: ./las/
#command: tail -F anything # keep it running
entrypoint: ['sh', '/data/web/las_setup.sh']
volumes:
- ./las:/data/web
#- assets:/assets
- las_static:/collected_static
- lasstatus:/las_status
working_dir: /data/web
restart: always
env_file:
- .env
ports:
- "8000:8000"
depends_on:
- lasmongodb1
# - graphdb
redis:
container_name: redis
image: redis:alpine
ports:
- "6379:6379"
restart: always
lasmongodb3:
image: mongo:4
restart: always
container_name: lasmongodb3
env_file:
- .env
volumes:
- lasmongodata3:/data/db
expose:
- "27017"
entrypoint: [ "/usr/bin/mongod", "--replSet", "rslas", "--bind_ip_all" ]
lasmongodb2:
image: mongo:4
restart: always
container_name: lasmongodb2
env_file:
- .env
volumes:
- lasmongodata2:/data/db
expose:
- "27017"
entrypoint: [ "/usr/bin/mongod", "--replSet", "rslas", "--bind_ip_all"]
lasmongodb1:
image: mongo:4
restart: always
container_name: lasmongodb1
env_file:
- .env
volumes:
- lasmongodata1:/data/db
expose:
- "27017"
ports:
- "27018:27017"
entrypoint: [ "/usr/bin/mongod", "--replSet", "rslas", "--bind_ip_all"]
lasmongosetup:
image: "mongo-setup"
build: "./mongo-setup"
container_name: "lasmongosetup"
depends_on:
- lasmongodb1
volumes:
- lasstatus:/data/
# nginx:
# build: ./nginx-pagespeed/
# restart: always
# volumes:
# - ./nginx/nginx.conf:/etc/nginx/app/nginx.conf
# - ./nginx/conf:/etc/nginx/app/conf_app/
# - las_static:/collected_static
# #- assets:/assets
# #- ./las/_config/static_to_move_away:/static
# #- ./las/_config/static_to_move_away/img:/img
# #- ./las/static:/las_static
# - ./nginx/certificate:/ssl
# #- tinymce:/tinymce
# #- django_tinymce:/django_tinymce
# ports:
# - "80:80"
# - "443:443"
# environment:
# - MAKE_J=4
# - NGINX_VERSION=1.15.5
# - PAGESPEED_VERSION=1.12.34.2
# - LIBPNG_VERSION=1.6.29
# - NGINX_INCLUDE_PATH=/etc/nginx/app/conf_app/*.conf
# - NGINX_DEFAULT_SERVER=off
# - NGINX_FASTCGI_GEOIP=off
# - NGINX_PAGESPEED=on
# - NGINX_PAGESPEED_IMG=on
# - NGINX_PAGESPEED_JS=on
# - NGINX_PAGESPEED_CSS=on
# - NGINX_PAGESPEED_STORAGE=file
# flower:
# container_name: flower
# image: mher/flower
# command: ["flower", "--broker=redis://redis:6379/0", "--port=8888"]
# ports:
# - 8888:8888
# graphdb:
# container_name: "graphdb"
# image: "lascandiolo/graphdb:8.10.1-free"
# restart: always
# ports:
# - "7200:7200"
# command:
# - -Dgraphdb.workbench.cors.enable=true
# - -Dgraphdb.home=/opt/graphdb/home
# volumes:
# - "lasgraphdb:/opt/graphdb/home"
volumes:
las_static:
#assets:
lasmongodata1:
lasmongodata2:
lasmongodata3:
lasstatus:
# lasgraphdb: