Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 680fd7cf authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Fix local docker-compose

parent f89d57d2
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
SPOT_HOSTNAME=spot.ecloud.global
SPOT_DOCKER_TAG=latest
SEARX_MORTY_URL=https://localhost:8089
SEARX_SECRET=":@)%NN0+OqNdy:{prWQlZ{p9|oO9p-UyJq@%V!~G:arrSx6fXz.{jd%=XF44ncj"
SEARX_REDIS_HOST=redis
SEARX_UI_DEFAULT_THEME=etheme
SEARX_PROXY_HTTP=socks5h://tor-socks-proxy:9150
SEARX_PROXY_HTTPS=socks5h://tor-socks-proxy:9150
NGINX_PORT=8088
NODE_NAME=local
CI_REGISTRY_IMAGE=registry.gitlab.e.foundation/e/infra/spot
+2 −2
Original line number Diff line number Diff line
@@ -54,10 +54,10 @@ below to run spot for production or local environment.
Run the docker-compose to start the project

```
docker-compose up -d
docker-compose up -d --build
```

Then go to http://localhost:8088.
Then go to http://localhost:8100.

### For developer

+2 −3
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ services:
    image: redis:5-alpine
    logging: *default-logging
    restart: unless-stopped
    command: redis-server --maxmemory 8G --maxmemory-policy allkeys-lru --requirepass foobar
    command: redis-server --maxmemory 8G --maxmemory-policy allkeys-lru

  spot:
    image: ${CI_REGISTRY_IMAGE}:${SPOT_DOCKER_TAG}
@@ -25,9 +25,8 @@ services:
    restart: unless-stopped
    environment:
      SEARX_SECRET: "${SEARX_SECRET}"
      SEARX_PROXY_HTTP: "${SEARX_PROXY_HTTP}"
      SEARX_PROXY_HTTPS: "${SEARX_PROXY_HTTPS}"
      SEARX_REDIS_HOST: "${SEARX_REDIS_HOST}"
      SEARXNG_REDIS_URL: "redis://${SEARX_REDIS_HOST}:6379"
      SEARX_UI_DEFAULT_THEME: "${SEARX_UI_DEFAULT_THEME}"
      GUNICORN_LOGGER: 1
      GUNICORN_LEVEL: INFO