forked from timlegge/docker-foswiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.2-simple-https.yml
48 lines (43 loc) · 1.09 KB
/
docker-compose.2-simple-https.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
version: '3'
services:
foswiki:
image: timlegge/docker-foswiki:latest
restart: always
depends_on:
- solr
networks:
- frontend
- backend
ports:
- "8765:80"
- "8443:443"
volumes:
- solr_logs:/opt/solr/server/logs:z
- solr_configsets:/opt/solr/server/solr/configsets:z
- solr_foswiki:/opt/solr/server/solr/solr_foswiki:z
- foswiki_www:/var/www/foswiki:z
- ./https/nginx.default.conf:/etc/nginx/conf.d/default.conf:z
- ./https/docker-foswiki.crt:/etc/nginx/docker-foswiki.crt:z
- ./https/docker-foswiki.key:/etc/nginx/docker-foswiki.key:z
solr:
image: solr:5
restart: always
networks:
- backend
volumes:
- solr_logs:/opt/solr/server/logs:z
- solr_configsets:/opt/solr/server/solr/configsets:z
- solr_foswiki:/opt/solr/server/solr/solr_foswiki:z
- foswiki_www:/var/www/foswiki:z
environment:
- GC_LOG_OPTS=''
- SOLR_LOG_LEVEL='WARN'
volumes:
foswiki_www:
solr_configsets:
solr_foswiki:
solr_logs:
networks:
frontend:
backend:
internal: true