hugo, base the image tag on the branch being used, change the ports to be in the env file.
This commit is contained in:
1 parent
208d10034e
commit
94273679d8
2 files changed
+5
-3
No files matched your search
@@ -6,11 +6,11 @@ services:
|
||||
container_name: hugo
|
||||
build:
|
||||
context: ./
|
||||
image: hyperling-hugo:latest
|
||||
image: hyperling-hugo:$BRANCH
|
||||
restart: always
|
||||
ports:
|
||||
- 8013:80 # Production minified files served using NGINX.
|
||||
- 1380:1380 # Development files with drafts served by Hugo Server.
|
||||
- $PROD_PORT:80 # Production minified files served using NGINX.
|
||||
#- $DEV_PORT:1380 # Development files with drafts served by Hugo Server.
|
||||
environment:
|
||||
- REPO=$REPO
|
||||
- BRANCH=$BRANCH
|
||||
|
||||
Reference in new issue
Block a user