caddy: command not found
stack Caddy with ghost in docker compose
ubuntu 22.04 systems docker engine
docker-compose up -d
Paste full file contents here. version: "3.7" services: caddy: image: caddy:latest restart: unless-stopped ports: - "80:80" - "443:443" volumes: - $PWD/Caddyfile:/etc/caddy/Caddyfile - $PWD/site:/srv - caddy_data:/data - caddy_config:/config volumes: caddy_data: external: true caddy_config: version: '3.1' services: ghost: image: ghost:latest restart: always ports: - 8080:2368 environment: # see https://ghost.org/docs/config/#configuration-options database__client: mysql database__connection__host: db database__connection__user: root database__connection__password: example database__connection__database: ghost # this url value is just an example, and is likely wrong for your environment! url: http://localhost:8080 # contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specifi> #NODE_ENV: development db: image: mysql:latest restart: always environment: MYSQL_ROOT_PASSWORD: example Make sure backticks stay on their own lines, and the post looks nice in the preview pane. -->
Paste your config here, replacing this text. Use `caddy fmt` to make it readable. DO NOT REDACT anything except credentials. LEAVE DOMAIN NAMES INTACT. Make sure the backticks stay on their own lines.
I cannot pull caddy image.
Paste logs/commands/output here. volume caddy_data declared as external, but could not be found. please create the volume manually using `docker volume create --name=caddy_data` and try again. USE THE PREVIEW PANE TO MAKE SURE IT LOOKS NICELY FORMATTED.
docker volume create --name=caddy_data