I've created a docker.compose.yml:
services:
moley:
image: ghcr.io/stupside/moley:latest
container_name: moley
environment:
MOLEY_CLOUDFLARE__TOKEN: ""
MOLEY_TUNNEL_INGRESS__ZONE: ""
MOLEY_TUNNEL_INGRESS__APPS__0__TARGET__PORT: "3000"
MOLEY_TUNNEL_INGRESS__APPS__0__TARGET__HOSTNAME: "localhost"
MOLEY_TUNNEL_INGRESS__APPS__0__EXPOSE__SUBDOMAIN: "OpenWebUi"
volumes:
- type: bind
source: ./moley.yml
target: /root/moley.yml
read_only: true
- type: bind
source: ./data/.moley
target: /root/.moley
read_only: false
command: ["--help"]
I run on a terminal on the /moley/ folder where docker.compose.yml
docker compose run --rm moley config set --cloudflare.token="your-api-token"
And it's fine
then I run
docker compose run --rm moley tunnel init
And I get this
Container moley-moley-run-ba04acd193fe Creating
Container moley-moley-run-ba04acd193fe Created
2026-05-05 07:39:40 INF tunnel/base.go:41 Initializing new tunnel configuration
2026-05-05 07:39:40 ERR moley/main.go:12 Application failed to execute error="override tunnel config failed: write file failed: open moley.yml: permission denied"
Can I modify something? there is a problem if I try to create it with
touch ./moley.yml I get error
so wich changes have to make? with moley run the moley.yml draft file was created (but I got other errors so I'll want to try docker as it's more stable once you get it running
I've created a docker.compose.yml:
I run on a terminal on the /moley/ folder where docker.compose.yml
docker compose run --rm moley config set --cloudflare.token="your-api-token"
And it's fine
then I run
docker compose run --rm moley tunnel initAnd I get this
Can I modify something? there is a problem if I try to create it with
touch ./moley.ymlI get errorso wich changes have to make? with moley run the moley.yml draft file was created (but I got other errors so I'll want to try docker as it's more stable once you get it running