Metastem / wikiless

A free open source alternative Wikipedia front-end focused on privacy.
https://wikiless.metastem.su/
GNU Affero General Public License v3.0
175 stars 19 forks source link

Change docker-compose.yml to prod settings #11

Closed pauvos closed 1 year ago

pauvos commented 1 year ago

docker-compose.yml now features "production" settings:

docker-compose.dev.yml can be used as override for development (https://docs.docker.com/compose/extends/#multiple-compose-files):

Note: I had to change REDIS_HOST from redis to redis://redis because wikiless was complaining:

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:

okteto-cloud[bot] commented 1 year ago

Preview environment metastem-wikiless-pr-11 is being deployed...