Cette page existe aussi en français. Lire en français
Install with Docker
Adekio and PostgreSQL in two containers, with the public image ghcr.io/adekio-hq/adekio.
You need a Linux machine with Docker Engine and the Compose plugin. The public image ghcr.io/adekio-hq/adekio:<version>
exists for amd64 and arm64; it downloads without an account.
1. Prepare the files
Create a folder with these two files (also provided in
install/docker of the public repository).
.env (password: letters, digits, - and _):
ADEKIO_VERSION=1.1.0
POSTGRES_PASSWORD=<password>
ADEKIO_PORT=8080
compose.yaml:
name: adekio
services:
adekio:
image: ghcr.io/adekio-hq/adekio:${ADEKIO_VERSION:-latest}
restart: unless-stopped
ports:
- "${ADEKIO_PORT:-8080}:8080"
environment:
ADEKIO_DATABASE_URL: postgres://adekio:${POSTGRES_PASSWORD}@postgres:5432/adekio?sslmode=disable
volumes:
- adekio-data:/data
depends_on:
postgres:
condition: service_healthy
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: adekio
POSTGRES_USER: adekio
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U adekio -d adekio"]
interval: 5s
retries: 20
volumes:
adekio-data:
postgres-data:
2. Start
docker compose up -d
docker compose logs -f adekio # wait for "listening"
3. First sign-in
The image has no shell: this command gives the admin account its temporary password.
docker compose exec adekio /usr/local/bin/adekio user reset-password admin
Open http://<server>:8080 and sign in as admin. See First sign-in and settings.
Configure Adekio
In Docker, each setting of config.yaml is given by an environment variable of the adekio service: ADEKIO_
followed by the key path in capitals, levels separated by _. For example ADEKIO_SERVER_TLS_CERT_FILE for
server.tls.cert_file (see Enable HTTPS).
The adekio-data volume holds the measurements and the secret.key file: back it up with the database
(Back up).
Was this page helpful?
Thank you for your feedback. Tell us what is missing