DokployD
Dokploy16mo ago
15 replies
baotao

Cannot access docker compose app

Here is the compose
networks: dokploy-network: external: true volumes: token: driver: local services: app: image : ghcr.io/imagename:latest ports: - 3001 environment: NODE_ENV: "production" PORT: 3001 restart: always # Ensure the app automatically restarts if it crashes deploy: replicas: 3 resources: limits: cpus: "1.0" # Limit to 1 CPU core memory: "512M" # Limit memory usage to 512MB healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001"] interval: 30s timeout: 10s retries: 3 volumes: - token:/app/token networks: - dokploy-network command: ["bun", "run", "start"]

I cannot acess the app after adding a domain, i have restarted the app and traefik multiple times.
i cannot acess the container from the host container either

ping containerip :
PING 10.0.1.95 (10.0.1.95) 56(84) bytes of data.
^C
--- 10.0.1.95 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4072ms
Was this page helpful?