Skip to content

Commit

Permalink
Fix docker port not mapping to 8080 on container
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Nov 25, 2024
1 parent 945640b commit 0abc268
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ start:
ssh ${REMOTE} 'docker run -d --name service-${SERVICE_NAME} \
--network traefik-net \
--label "traefik.enable=true" \
-p ${PORT}:${PORT} \
-p ${PORT}:8080 \
--volume /deployment/service-${SERVICE_NAME}:/etc/${SERVICE_NAME} \
--label "com.centurylinklabs.watchtower.enable=true" \
--label "traefik.http.routers.service-${SERVICE_NAME}.rule=Host(\`${SUBDOMAIN}.dev.comp-soc.com\`)" \
--label "traefik.http.routers.service-${SERVICE_NAME}.middlewares=traefik-forward-auth-gh" \
ghcr.io/compsoc-edinburgh/service-${SERVICE_NAME}'

# Most used command, restarts the service after syncing secrets (i.e. new
Expand Down

0 comments on commit 0abc268

Please sign in to comment.