Skip to content

Commit 07106a1

Browse files
committed
enable watch mode in mkdocs compose config
1 parent 5d3b6a1 commit 07106a1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docker-compose.docs.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
version: "3.9"
1+
name: civic-tech-jobs-mkdocs
2+
23
services:
34
mkdocs:
5+
container_name: mkdocs
46
image: hackforlaops/mkdocs:latest
5-
command: mkdocs serve -a "0.0.0.0:8000"
7+
command: mkdocs serve -a "0.0.0.0:8005"
68
ports:
7-
- "8005:8000"
9+
- "8005:8005"
810
volumes:
911
- ./mkdocs:/app
12+
develop:
13+
watch:
14+
- action: sync
15+
path: ./mkdocs
16+
target: /app

0 commit comments

Comments
 (0)