Closed PolGZ closed 6 months ago
What I see there is a working instance. Have you tried using it, or just assumed it was wrong?
I do see one potential problem. You are mapping with the container's port 8081, when it should be 8080.
When I tried the basic compose with the minimal elements shown in the documentation I could at least get the 404 error (which I confirmed was expected behaviour, and I should proceed with the api-key:generate
command).
But after adding the database and tried to expand my compose file it wasn't showing anymore.
It was the port mapping you pointed. Now with 8081:8080
404 page is shown. Thank you.
I'll try know to configure the reverse proxy with NPM. You could close this issue, and thanks for the (so quick) support.
Shlink version
Latest docker
PHP version
Latest on the docker container
How do you serve Shlink
Docker image
Database engine
MariaDB
Database version
docker : latest
Current behavior
After a test install as showed on the documentation that seemed to end on a running docker without errors on the log, after trying the
shlink api-key:generate
command and getting the readonly error:An exception occurred while executing a query: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
, I proceeded to add a database to the stack:Here is my docker compose:
I got errors on the log indicating to enable shell verbosity at level 3 to get details. But I lack the knowledge to understand them.
Here are the logs:
Expected behavior
At least get the 404 on localhost:8081.
Also, not seeing errors relative to ¿proxies? (
ERR orm:generate-proxies
) when https is set to false and I didn't even start to try and configure a reverse proxie.How to reproduce
Fresh docker install with that compose file