Browse Source

Merge dd319105d9 into f501c7aeae

pull/5017/merge
Stefan Haun 1 day ago
committed by GitHub
parent
commit
62ec92e9d7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      README.md
  2. 4
      docker/docker-compose.yml

4
README.md

@ -86,11 +86,13 @@ We provide official container images hosted on [Docker Hub](https://hub.docker.c
### Supported Environment Variables
| Name | Type | Default Value | Description |
| ------------------------ | --------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
|--------------------------| --------------------- |---------------|-------------------------------------------------------------------------------------------------------------------------------------|
| `ACCESS_TOKEN_SALT` | `string` | | A random string used as salt for access tokens |
| `API_KEY_COINGECKO_DEMO` | `string` (optional) |   | The _CoinGecko_ Demo API key |
| `API_KEY_COINGECKO_PRO` | `string` (optional) | | The _CoinGecko_ Pro API key |
| `DATABASE_URL` | `string` | | The database connection URL, e.g. `postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}?sslmode=prefer` |
| `EXPOSE_HOST` | `string` (optional) | `0.0.0.0` | The host where the Ghostfolio application will be exposed by Docker |
| `EXPOSE_PORT` | `string` (optional) | `3333` | The port where the Ghostfolio application will be exposed by Docker |
| `HOST` | `string` (optional) | `0.0.0.0` | The host where the Ghostfolio application will run on |
| `JWT_SECRET_KEY` | `string` | | A random string used for _JSON Web Tokens_ (JWT) |
| `LOG_LEVELS` | `string[]` (optional) | | The logging levels for the Ghostfolio application, e.g. `["debug","error","log","warn"]` |

4
docker/docker-compose.yml

@ -12,14 +12,14 @@ services:
env_file:
- ../.env
ports:
- 3333:3333
- ${EXPOSE_HOST:-0.0.0.0}:${EXPOSE_PORT:-3333}:${PORT:-3333}
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
healthcheck:
test: ['CMD-SHELL', 'curl -f http://localhost:3333/api/v1/health']
test: ['CMD-SHELL', 'curl -f http://localhost:$${PORT:-3333}/api/v1/health']
interval: 10s
timeout: 5s
retries: 5

Loading…
Cancel
Save