gregtwallace / certwarden

Cert Warden is a centralized ACME Client. It provides an API for certificate consumers to fetch their individual keys and certs with API keys.
https://www.certwarden.com/
Other
183 stars 6 forks source link

Docker & Docker Compose #4

Closed gummipunkt closed 1 year ago

gummipunkt commented 1 year ago

Hi,

I've tried to use Docker / Docker Compose. My docker-compose.yml

version: '3.3'

services:
  legocerthub:
    image: ghcr.io/gregtwallace/legocerthub:latest
    container_name: legocerthub
    volumes:
      - /opt/legocerthub/data:/app/data
    ports:
      - 4050:4050  # <Host Port>:<Container Port>
      - 4055:4055
      - 4060:4060
    restart: always

Works. I can connect to the login page. But then I need credentials which I don't have. Also, it's not clear for me, how to get the config.yml because it's not generated during the first run. Could you provide a sample one?

gregtwallace commented 1 year ago

Default username and password is admin:password.

Config template: https://github.com/gregtwallace/legocerthub-backend/blob/master/config.default.yaml

This file is also located in /app