Browse Source

Initial config

main
3wc 4 months ago
parent
commit
9eff66bcb2
  1. 6
      .env.sample
  2. 2
      README.md
  3. 10
      compose.yml

6
.env.sample

@ -1,6 +1,6 @@
TYPE=${REPO_NAME_KEBAB}
TYPE=keyoxide
DOMAIN=${REPO_NAME_KEBAB}.example.com
DOMAIN=keyoxide.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.${REPO_NAME_KEBAB}.example.com`'
#EXTRA_DOMAINS=', `www.keyoxide.example.com`'
LETS_ENCRYPT_ENV=production

2
README.md

@ -1,4 +1,4 @@
zRKeyoxide
# Keyoxide
A modern, secure and privacy-friendly platform to establish your decentralized online identity • https://codeberg.org/keyoxide/web

10
compose.yml

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: nginx:1.19.2
image: keyoxide/keyoxide:2.4.1
networks:
- proxy
deploy:
@ -11,7 +11,7 @@ services:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3000"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
@ -19,12 +19,6 @@ services:
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
networks:
proxy:

Loading…
Cancel
Save