Hello, the following is my docker-compose.yml
. I pasted in here the content of docker-compose.override.yml
Once I visit https://mailtrain.tommi.space
, I get 404 page not found
(see screenshot at the bottom). Where is my error (Traefik is up and running correctly, I have other containers which use it and they are ok).
Note : I get the same error message also when visiting http://mailtrain.tommi.space
. Nevertheless, when I visit http://my.ip.address:3000
I see everything! It probably is a Traefik configuration error specifically in this docker compose file.
version: '2'
services:
mysql:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=mailtrain
- MYSQL_DATABASE=mailtrain
- MYSQL_USER=mailtrain
- MYSQL_PASSWORD=mailtrain
volumes:
- mailtrain-mysq-data:/var/lib/mysql
restart: always
redis:
image: redis:3.0
volumes:
- mailtrain-redis-data:/data
restart: always
mailtrain:
build: ./
image: mailtrain:latest
container_name: mailtrain
hostname: mailtrain
depends_on:
- mysql
- redis
volumes:
- mailtrain-node-config:/app/config
- mailtrain-node-data:/app/public/grapejs/uploads
- mailtrain-node-data:/app/public/mosaico/uploads
- mailtrain-node-reports:/app/protected/reports
ports:
- "3000:3000"
restart: always
labels:
- "traefik.enable=true"
- "traefik.mailtrain-trusted.backend=mailtrain-trusted"
- "traefik.mailtrain-trusted.frontend.rule=Host:mailtrain.tommi.space"
- "traefik.mailtrain-trusted.frontend.headers.SSLRedirect=true"
- "traefik.mailtrain-trusted.port=3000"
- "traefik.mailtrain-trusted.protocol=http"
volumes:
mailtrain-mysq-data: {}
mailtrain-redis-data: {}
mailtrain-node-data: {}
mailtrain-node-config: {}
mailtrain-node-reports: {}
The error message:
Thank y'all very much in advance!