docker-library / ghost

Docker Official Image packaging for Ghost
https://hub.docker.com/_/ghost
MIT License
720 stars 311 forks source link

connection refused #391

Closed FamousL closed 8 months ago

FamousL commented 11 months ago

Apologies, but I am not sure where else to turn with this, currently running this in a podman container with quadlet.

The container file shows: [Unit] Description=The ghost container After=local-fs.target

[Container] Image=docker.io/library/ghost:5 PublishPort=2368:2368 Volume=/mymedia/docker/ghost/content:/var/lib/ghost/content Environment=url=https://(full url) Environment=databaseclient=mysql Environment=databaseconnectionuser=ghost Environment=databaseconnectionpassword=(removed) Environment=databaseconnectionhost=(remote mariadb server) Environment=databaseconnectiondatabase=ghosty Environment=serverport=2368 [Service] Restart=always

[Install] # Start by default on boot WantedBy=multi-user.target default.target

This is behind an apache reverse proxy:

    ServerName (same as full url above)
    ProxyRequests Off
    ProxyPass / http://localhost:2368/
    ProxyPassReverse / http://localhost:2368/

Server starts, and shows ready, however : curl -I localhost:2368 curl: (7) Failed to connect to localhost port 2368 after 0 ms: Couldn't connect to server