Ports now not published to host machine

This commit is contained in:
WilliamMiceli
2018-08-24 17:11:34 -04:00
parent f6ba694db8
commit cfbbbc6c96

View File

@@ -13,6 +13,8 @@ services:
MYSQL_PASSWORD: ${DB_USER_PASS}
NEXTCLOUD_ADMIN_USER: ${NC_ADMIN}
NEXTCLOUD_ADMIN_PASSWORD: ${NC_ADMIN_PASS}
expose:
- "80"
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
@@ -20,15 +22,15 @@ services:
{{- end}}
traefik.enable: true
traefik.frontend.rule: Host:cloudtest.williammiceli.systems
traefik.port: "${WEB_PORT}"
traefik.port: "80"
traefik.backend: Nextcloud
traefik.frontend.entryPoints: http
links:
- mysql
networks:
- public-proxy
ports:
- "${WEB_PORT}:80"
# ports:
# - "${WEB_PORT}:80"
restart: on-failure
volumes:
- Application:/var/www/html