linkwarden
This commit is contained in:
parent
4e3910170f
commit
612d5e60ed
|
@ -0,0 +1,21 @@
|
||||||
|
NEXTAUTH_URL=https://linkwarden.jimsgarage.co.uk/api/v1/auth
|
||||||
|
# NEXTAUTH_URL=http://localhost:3000/api/v1/auth # Uncomment this if you don't want to use another Identity Provider
|
||||||
|
NEXTAUTH_SECRET=linkwarden
|
||||||
|
POSTGRES_PASSWORD=wGZM%rg9%J5Vl*sALx^h7roKPXN@JcqZ
|
||||||
|
|
||||||
|
# SMTP Settings
|
||||||
|
#NEXT_PUBLIC_EMAIL_PROVIDER=
|
||||||
|
#EMAIL_FROM=
|
||||||
|
#EMAIL_SERVER=
|
||||||
|
#BASE_URL=
|
||||||
|
|
||||||
|
#################
|
||||||
|
# SSO Providers #
|
||||||
|
#################
|
||||||
|
|
||||||
|
# Authentik
|
||||||
|
NEXT_PUBLIC_AUTHENTIK_ENABLED=true
|
||||||
|
AUTHENTIK_CUSTOM_NAME=
|
||||||
|
AUTHENTIK_ISSUER=https://authentik.jimsgarage.co.uk/application/o/linkwarden
|
||||||
|
AUTHENTIK_CLIENT_ID=hWmxt6sLvDmqNFdl4WsE3IvLVv2VMmPhv6dGX1lZ
|
||||||
|
AUTHENTIK_CLIENT_SECRET=a6ersBnO48CfmbIcri7zMxIDgZynTSuDTsRYsb5bppvc2OAH6U9ho8CtQLLqM0o3cUaU4mtElvOD3xjeDUt7VXhd19VRrtLliaexFGv48vltMYAVg413wbquZtQ7Gx1J
|
|
@ -0,0 +1,43 @@
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:16-alpine
|
||||||
|
env_file: .env
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /home/ubuntu/docker/linkwarden/pgdata:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- linkwarden
|
||||||
|
linkwarden:
|
||||||
|
env_file: .env
|
||||||
|
environment:
|
||||||
|
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||||
|
restart: always
|
||||||
|
# build: . # uncomment this line to build from source
|
||||||
|
image: ghcr.io/linkwarden/linkwarden:latest # comment this line to build from source
|
||||||
|
#ports:
|
||||||
|
# - 3000:3000
|
||||||
|
volumes:
|
||||||
|
- /home/ubuntu/docker/linkwarden/data:/data/data
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
- linkwarden
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.docker.network=proxy"
|
||||||
|
- "traefik.http.routers.linkwarden.entrypoints=http"
|
||||||
|
- "traefik.http.routers.linkwarden.rule=Host(`linkwarden.jimsgarage.co.uk`)"
|
||||||
|
- "traefik.http.middlewares.linkwarden-https-redirect.redirectscheme.scheme=https"
|
||||||
|
- "traefik.http.routers.linkwarden.middlewares=linkwarden-https-redirect"
|
||||||
|
- "traefik.http.routers.linkwarden-secure.entrypoints=https"
|
||||||
|
- "traefik.http.routers.linkwarden-secure.rule=Host(`linkwarden.jimsgarage.co.uk`)"
|
||||||
|
- "traefik.http.routers.linkwarden-secure.tls=true"
|
||||||
|
- "traefik.http.routers.linkwarden-secure.tls.certresolver=cloudflare"
|
||||||
|
- "traefik.http.routers.linkwarden-secure.service=linkwarden"
|
||||||
|
- "traefik.http.services.linkwarden.loadbalancer.server.port=3000" # make sure the loadbalancer is the last line!!!
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
linkwarden:
|
Loading…
Reference in New Issue