initial commit
This commit is contained in:
1 parent
ca6ff4c1d9
commit
742a3e2143
65 files changed
+16468
No files matched your search
@@ -0,0 +1,81 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
|
||||
jlinc-server:
|
||||
image: registry.jlinc.io/jlinc-server
|
||||
container_name: jlinc-server
|
||||
environment:
|
||||
# BASE CONFIGURATION
|
||||
# ==================
|
||||
# If you wish to display debug logging
|
||||
# DEBUG: "true"
|
||||
#
|
||||
# DB URL
|
||||
POSTGRES_URL: postgresql://jlinc:password@jlinc-db/jlinc
|
||||
# Public URLs, callback URLS will be PUBLIC_CALLBACK_URL + '/callback/<module>'
|
||||
PUBLIC_CORE_URL: http://localhost:9090
|
||||
PUBLIC_ARCHIVE_URL: http://localhost:9090
|
||||
PUBLIC_CALLBACK_URL: http://localhost:9090
|
||||
# Enabled app modules
|
||||
APP_MODULES: core, archive
|
||||
# Enabled authentication modules
|
||||
AUTH_MODULES: oidc, github, google
|
||||
# Secure secret for memory store, generate with `openssl rand -hex 64`
|
||||
SECURE_SECRET: 9ed678e6da3333a53c635039a5f53015ba3d4c841a0ade4e46f31c2d42c9b3e71edcdda7e1d75d066a39a8f56f9eb325d556a90195c6e7f45c6e2fffd0e98a7a
|
||||
# Default FedID server to use for identity management
|
||||
DEFAULT_FEDID_URL: https://fedid-test.jlinc.io
|
||||
|
||||
# AUTH MODULES
|
||||
# ============
|
||||
|
||||
# OpenID Connect
|
||||
# --------------
|
||||
# Works with any OIDC provider
|
||||
# OIDC_CLIENT_ID:
|
||||
# OIDC_CLIENT_SECRET:
|
||||
# OIDC_ISSUER: https://fedid-test.jlinc.io/oidc
|
||||
# OIDC_AUTHORIZATION_URL: https://fedid-test.jlinc.io/oidc/auth
|
||||
# OIDC_TOKEN_URL: https://fedid-test.jlinc.io/oidc/token
|
||||
# OIDC_USERINFO_URL: https://fedid-test.jlinc.io/oidc/me
|
||||
# OIDC_LOGOUT_URL: https://fedid-test.jlinc.io/oidc/session/end
|
||||
|
||||
# GitHub
|
||||
# --------------
|
||||
# Set up your GitHub app: https://github.com/settings/applications/new
|
||||
# GITHUB_CLIENT_ID:
|
||||
# GITHUB_CLIENT_SECRET:
|
||||
|
||||
# Google
|
||||
# --------------
|
||||
# Set up your Google app: https://console.developers.google.com/
|
||||
# - Create a new app
|
||||
# - Set up auth: https://console.cloud.google.com/auth/overview
|
||||
# GOOGLE_CLIENT_ID:
|
||||
# GOOGLE_CLIENT_SECRET:
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- jlinc-db
|
||||
networks:
|
||||
- jlinc
|
||||
# For dev
|
||||
ports:
|
||||
- 9090:9090
|
||||
|
||||
jlinc-db:
|
||||
image: postgres:17-alpine
|
||||
container_name: jlinc-db
|
||||
environment:
|
||||
- POSTGRES_USER=jlinc
|
||||
- POSTGRES_PASSWORD=password
|
||||
- POSTGRES_DB=jlinc
|
||||
ports:
|
||||
- 127.0.0.1:5432:5432
|
||||
volumes:
|
||||
- ./data/db:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- jlinc
|
||||
|
||||
networks:
|
||||
jlinc:
|
||||
Reference in new issue
Block a user