DokployD
Dokploy14mo ago
jmwtac

help traefik direct

so i have a service working fine on pdf.crownparkcomputing.com. i have tried to copy setup for uptime-kuma and ghost but always get 404 error.
here is my compose. i have set GHOST_HOST to https://test.crowparkcomputing.com

''services:
ghost:
image: ghost:5-alpine
restart: always
environment:
databaseclient: mysql
database
connectionhost: db
database
connectionuser: root
database
connectionpassword: example
database
connection__database: ghost
url: http://${GHOST_HOST}
labels:
- traefik.enable=true
- traefik.http.routers.test.rule=Host(test.crownparkcomputing.com)
- traefik.http.routers.test.entrypoints=web
- traefik.http.services.test.loadbalancer.server.port=3000
networks:
- dokploy-network
volumes:
- ghost:/var/lib/ghost/content
expose:
- 3000
db:
image: mysql:8.0
restart: always
networks:
- dokploy-network
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
- db:/var/lib/mysql

volumes:
ghost:
db:''
image.png
Was this page helpful?