forked from qgis/QGIS-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
79 lines (73 loc) · 2.4 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
# After running you can find the site at http://localhost:8000
# And the file manager (user admin, pass admin) at http://localhost:8001
# This is a demonstration configuration only, not intended for production!
volumes:
hugo_generated:
hugo_themes:
hugo_source:
services:
python-http:
image: jdkelley/simple-http-server:latest
ports:
- 7001:8000
volumes:
- hugo_generated:/serve
- hugo_themes:/themes
- hugo_source:/src
logging:
driver: json-file
options:
max-size: 200m
max-file: '10'
hugo-watcher:
# This service watches for changes in the static content
# source files of the hugo site and rebuilds the site
# whenever a source file is changed.
image: kartoza/hugo-watcher:latest
environment:
- DOMAIN=http://localhost:7001
# If you comment out theme it will default to hugo-clarity
- THEME=qgis
volumes:
# This is non user editable, generated static html
# will be placed here.
- hugo_generated:/public
# Mounted in file-browser and to Hugo for themes
# If empty will be initially populated by hugo-watcher
# adding the hugo-clarity theme by default
# Place hugo themes here
- hugo_themes:/themes
# Mounted in file-browser and to Hugo for content (markdown)
# If empty will be initially populated by hugo-watcher
# adding the hugo-clarity sample site by default
# Only raw markdown should be put in here, hugo will generate
# the site from that.
- hugo_source:/src
logging:
driver: json-file
options:
max-size: 200m
max-file: '10'
file-browser:
image: filebrowser/filebrowser
volumes:
# Mounted in file-browser and to Hugo for themes
# If empty will be initially populated by hugo-watcher
# adding the hugo-clarity theme by default
# Place hugo themes here
- hugo_themes:/srv/themes
# Mounted in file-browser and to Hugo for content (markdown)
# If empty will be initially populated by hugo-watcher
# adding the hugo-clarity sample site by default
# Only raw markdown should be put in here, hugo will generate
# the site from that.
- hugo_source:/srv/src
user: root # FIXME
ports:
- 8001:80
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 200m
max-file: '10'