Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Generate doesn’t generate signing key #3

Open
Pompiedom opened this issue Mar 18, 2022 · 0 comments
Open

Generate doesn’t generate signing key #3

Pompiedom opened this issue Mar 18, 2022 · 0 comments

Comments

@Pompiedom
Copy link

Hi one-eyed king! Thanks for your awesome bootstrap! Most usable project I’ve encountered so far.

The problem I encounter is as follows;
Configs are made, dockers are being created (and started via the run command) the problem is with the synapse part. The generate command doesn’t create the signing keys and I can’t find out why as the generate command is a native synapse command underneath right? So the synapse image keeps rebooting with the error it can’t find the signing key.

This is my compose export:

version: '2.4'

services:

synapse:
image: matrixdotorg/synapse:latest
restart: unless-stopped
healthcheck:
test: [CMD, curl, -fSs, http://localhost:8008/health]
interval: 1m
timeout: 10s
retries: 3
networks:
private: {}
ports:
- 8008:8008
environment:
TZ: 'Europe/Amsterdam'
SYNAPSE_CONFIG_DIR: /data
SYNAPSE_CONFIG_PATH: /data/homeserver.yaml
SYNAPSE_WORKER: synapse.app.homeserver
UID: 1037
GID: 100
volumes:
- /volume1/docker/matrix/synapse/data:/data

element:
image: vectorim/element-web:latest
restart: unless-stopped
networks:
private: {}
ports:
- 8888:80
volumes:
- /volume1/docker/matrix/element/config/conf.json:/app/config.json

db:
image: postgres:13.1-alpine
restart: unless-stopped
networks:
private: {}
stop_grace_period: 1m30s
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: 'synapse'
POSTGRES_PASSWORD: 'synapse'
POSTGRES_DB: 'synapse'
POSTGRES_INITDB_ARGS: '--encoding=UTF-8 --lc-collate=C --lc-ctype=C'
user: 1037:100
volumes:
- /volume1/docker/matrix/db/data:/var/lib/postgresql/data
- /etc/passwd:/etc/passwd:ro # required to make user: work!

networks:
private: {}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant