-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 1.07 KB
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
version: '3.8'
services:
hugo-build:
build:
context: .
platforms:
- linux/amd64
- linux/arm64
container_name: hugo-build
volumes:
- .:/workspace
working_dir: /workspace
command: hugo --minify --baseURL "https://www.sre-elite.com/"
hugo-dev:
build:
context: .
platforms:
- linux/amd64
- linux/arm64
container_name: hugo-dev
ports:
- "1313:1313"
volumes:
- .:/workspace
working_dir: /workspace
command: hugo server --bind 0.0.0.0 --baseURL http://localhost:1313 --buildDrafts --buildFuture
hugo-test:
build:
context: .
platforms:
- linux/amd64
- linux/arm64
container_name: hugo-test
ports:
- "1313:1313"
volumes:
- .:/workspace
working_dir: /workspace
command: hugo server --bind 0.0.0.0 --baseURL http://localhost:1313 --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify