Can now serve front end via IP

This commit is contained in:
Eliot Berriot 2018-05-08 16:30:42 +02:00
parent e31bed050e
commit 99c02b4f7e
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ services:
- internal - internal
labels: labels:
traefik.backend: "${COMPOSE_PROJECT_NAME-node1}" traefik.backend: "${COMPOSE_PROJECT_NAME-node1}"
traefik.frontend.rule: "Host: ${COMPOSE_PROJECT_NAME-node1}.funkwhale.test" traefik.frontend.rule: "Host:${COMPOSE_PROJECT_NAME-node1}.funkwhale.test,${NODE_IP-127.0.0.1}"
traefik.enable: 'true' traefik.enable: 'true'
traefik.federation.protocol: 'http' traefik.federation.protocol: 'http'
traefik.federation.port: "${WEBPACK_DEVSERVER_PORT-8080}" traefik.federation.port: "${WEBPACK_DEVSERVER_PORT-8080}"

View File

@ -1,5 +1,5 @@
defaultEntryPoints = ["http", "https"] defaultEntryPoints = ["http", "https"]
[accessLog]
################################################################ ################################################################
# Web configuration backend # Web configuration backend
################################################################ ################################################################