mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-04-19 06:33:20 +02:00
use nginx
This commit is contained in:
parent
6428a9f841
commit
f6d570d3f6
@ -3,13 +3,9 @@ version: "3.5"
|
||||
services:
|
||||
blog:
|
||||
container_name: personal-blog
|
||||
build:
|
||||
context: ./personal-page
|
||||
args:
|
||||
HUGO_ENV_ARG: "production"
|
||||
HUGO_CMD: "-d ${NGINX_HOST}"
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- hugo_data:/var/www/hugo:z
|
||||
|
||||
volumes:
|
||||
hugo_data:
|
||||
- ./config/hugo/public:/usr/share/nginx/html:ro,z
|
||||
restart: always
|
||||
ports:
|
||||
- 6262:80
|
||||
|
Loading…
x
Reference in New Issue
Block a user