Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
33 lines (32 loc) · 895 Bytes

File metadata and controls

33 lines (32 loc) · 895 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
services:
hugo-dev:
# Renovate manages this image tag; keep it in sync with
# .devcontainer/devcontainer.json and .github/workflows/.
image: hugomods/hugo:0.113.0
environment:
- HUGO_ENVIRONMENT=development
- HUGO_ENV=development
- HUGO_EXTENDED=true
working_dir: /src
ports:
- "1313:1313"
volumes:
- ./:/src:delegated
- hugo_cache:/tmp/hugo_cache
- hugo_node_modules:/src/node_modules
# The Node.js version comes from .nvmrc (single source, Renovate-managed).
command: >-
sh -c "apk add --no-cache nodejs npm curl bash
&& npm install -g n
&& n \"$$(cat .nvmrc)\"
&& node -v
&& npm ci
&& hugo serve --watch --bind 0.0.0.0 --port 1313"
stdin_open: true
tty: true
restart: unless-stopped
volumes:
hugo_cache:
driver: local
hugo_node_modules:
driver: local
Morty Proxy This is a proxified and sanitized view of the page, visit original site.