Closed pauvos closed 1 year ago
docker-compose.yml now features "production" settings:
ghcr.io/metastem/wikiless:latest
workdir
command
docker-compose.dev.yml can be used as override for development (https://docs.docker.com/compose/extends/#multiple-compose-files):
docker compose -f docker-compose.yml -f docker-compose.dev.yml ...
Note: I had to change REDIS_HOST from redis to redis://redis because wikiless was complaining:
redis
redis://redis
wikiless-web-1 | TypeError [ERR_INVALID_URL]: Invalid URL wikiless-web-1 | at new NodeError (node:internal/errors:387:5) wikiless-web-1 | at URL.onParseError (node:internal/url:565:9) ... wikiless-web-1 | at /wikiless/src/wikiless.js:17:20 { wikiless-web-1 | input: 'redis', wikiless-web-1 | code: 'ERR_INVALID_URL'
Works on my machine :crossed_fingers:
Preview environment metastem-wikiless-pr-11 is being deployed...
docker-compose.yml now features "production" settings:
ghcr.io/metastem/wikiless:latest
imageworkdir
andcommand
as they're already set in docker imagedocker-compose.dev.yml can be used as override for development (https://docs.docker.com/compose/extends/#multiple-compose-files):
docker compose -f docker-compose.yml -f docker-compose.dev.yml ...
Note: I had to change REDIS_HOST from
redis
toredis://redis
because wikiless was complaining:Works on my machine :crossed_fingers: