Ports now not published to host machine
This commit is contained in:
@@ -13,6 +13,8 @@ services:
|
|||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
NEXTCLOUD_ADMIN_USER: ${NC_ADMIN}
|
NEXTCLOUD_ADMIN_USER: ${NC_ADMIN}
|
||||||
NEXTCLOUD_ADMIN_PASSWORD: ${NC_ADMIN_PASS}
|
NEXTCLOUD_ADMIN_PASSWORD: ${NC_ADMIN_PASS}
|
||||||
|
expose:
|
||||||
|
- "80"
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
@@ -20,15 +22,15 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
traefik.frontend.rule: Host:cloudtest.williammiceli.systems
|
traefik.frontend.rule: Host:cloudtest.williammiceli.systems
|
||||||
traefik.port: "${WEB_PORT}"
|
traefik.port: "80"
|
||||||
traefik.backend: Nextcloud
|
traefik.backend: Nextcloud
|
||||||
traefik.frontend.entryPoints: http
|
traefik.frontend.entryPoints: http
|
||||||
links:
|
links:
|
||||||
- mysql
|
- mysql
|
||||||
networks:
|
networks:
|
||||||
- public-proxy
|
- public-proxy
|
||||||
ports:
|
# ports:
|
||||||
- "${WEB_PORT}:80"
|
# - "${WEB_PORT}:80"
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Application:/var/www/html
|
- Application:/var/www/html
|
||||||
|
|||||||
Reference in New Issue
Block a user