forked from michael34435/docker-foswiki
-
Notifications
You must be signed in to change notification settings - Fork 12
/
foswiki.json
63 lines (63 loc) · 2.54 KB
/
foswiki.json
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
{
"captainVersion": "2",
"documentation": "Taken from https://hub.docker.com/r/timlegge/docker-foswiki.",
"displayName": "Foswiki",
"description": "Foswiki is an open, programmable collaboration platform",
"dockerCompose": {
"version": "3.3",
"services": {
"$$cap_appname-solr": {
"image": "solr:$$cap_solr_version",
"notExposeAsWebApp": "true",
"volumes": [
"$$cap_appname-solr-logs:/opt/solr/server/logs",
"$$cap_appname-solr-configsets:/opt/solr/server/solr/configsets",
"$$cap_appname-solr-foswiki:/opt/solr/server/solr/solr_foswiki",
"$$cap_appname-foswiki-www:/var/www/foswiki"
],
"restart": "always",
"environment": {
"GC_LOG_OPTS":{},
"SOLR_LOG_LEVEL":"WARN"
}
},
"$$cap_appname": {
"depends_on": [
"$$cap_appname-solr"
],
"image": "timlegge/docker-foswiki:$$cap_foswiki_version",
"volumes": [
"$$cap_appname-solr-logs:/opt/solr/server/logs",
"$$cap_appname-solr-configsets:/opt/solr/server/solr/configsets",
"$$cap_appname-solr-foswiki:/opt/solr/server/solr/solr_foswiki",
"$$cap_appname-foswiki-www:/var/www/foswiki"
],
"containerHttpPort": "80",
"restart": "always"
}
}
},
"volumes": {
"solr-logs": {},
"solr-configsets": {},
"solr-foswiki": {},
"foswiki-www": {}
},
"instructions": {
"start": "The Free Enterprise Collaboration Platform",
"end": "Foswiki + Solr is deployed and available as $$cap_appname-foswiki . \n\n IMPORTANT: It will take up to 2 minutes for Foswi to be ready. Before that, you might see a 502 error page.\n Please reset the admin Password.\n Read the README-CAPROVER.md File at https://github.com/timlegge/docker-foswiki for final setup."
},
"variables": [{
"id": "$$cap_solr_version",
"label": "Solr Version",
"defaultValue": "5",
"description":"Check out their Docker page for the valid tags https://hub.docker.com/_/solr/?tab=tags"
},
{
"id": "$$cap_foswiki_version",
"label": "Foswiki Version",
"defaultValue": "latest",
"description": "Check out their Docker page for the valid tags https://hub.docker.com/r/timlegge/docker-foswiki/tags"
}
]
}