Fixed volumes_from and ports

This commit is contained in:
WilliamMiceli
2018-11-17 16:10:07 -05:00
parent 9c569fb8f2
commit 1f43a8bf06

View File

@@ -19,7 +19,7 @@ services:
# traefik.frontend.headers.SSLRedirect: true # traefik.frontend.headers.SSLRedirect: true
# traefik.frontend.headers.STSPreload: true # traefik.frontend.headers.STSPreload: true
# traefik.frontend.headers.STSSeconds: 15552000 # traefik.frontend.headers.STSSeconds: 15552000
traefik.port: "80" traefik.port: "9000"
{{- else}} {{- else}}
traefik.enable: false traefik.enable: false
{{- end}} {{- end}}
@@ -32,7 +32,7 @@ services:
networks: networks:
- public-proxy - public-proxy
ports: ports:
- "${WEB_PORT}:80" - "${WEB_PORT}:9000"
restart: on-failure restart: on-failure
volumes: volumes:
- /RancherCattleData/${DATA_DIR}/Application:/usr/local/apache2/htdocs - /RancherCattleData/${DATA_DIR}/Application:/usr/local/apache2/htdocs
@@ -59,7 +59,7 @@ services:
networks: networks:
- public-proxy - public-proxy
restart: on-failure restart: on-failure
volumes-from: volumes_from:
- httpd - httpd
mysql: mysql:
image: mysql:5 image: mysql:5