Ports now not published to host machine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user