This commit is contained in:
19
docker/.env
Normal file
19
docker/.env
Normal file
@@ -0,0 +1,19 @@
|
||||
# Database Settings
|
||||
DB_SERVER=host.docker.internal
|
||||
DB_NAME=YOURDBNAME
|
||||
DB_USERNAME=YOURDBUSERNAME
|
||||
DB_PASSWORD=YOURDBPASSWORD
|
||||
|
||||
# S3 Settings
|
||||
S3_REGION=YOURS3REGION
|
||||
S3_BUCKET=YOURS3BUCKET
|
||||
S3_ACCESS_KEY=YOURS3ACCESSKEY
|
||||
S3_SECRET_KEY=YOURS3SECRETKEY
|
||||
S3_ENDPOINT=https://s3.YOURS3REGION.amazonaws.com
|
||||
|
||||
# Keycloak Settings
|
||||
KEYCLOAK_BASE_URL=https://sso.example.com
|
||||
KEYCLOAK_REALM=YOURSSORealm
|
||||
KEYCLOAK_CLIENT_ID=bundledcmdb
|
||||
KEYCLOAK_CLIENT_SECRET=YOURKEYCLOAKCLIENTSECRET
|
||||
KEYCLOAK_REDIRECT_URI=https://bundledcmdb.example.com/index.php
|
||||
27
docker/docker-compose.yml
Normal file
27
docker/docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: bundledcmdb
|
||||
|
||||
services:
|
||||
ddnsonroute53:
|
||||
image: ghcr.io/ivancarlosti/bundledcmdb:latest
|
||||
env_file: .env
|
||||
container_name: bundledcmdb
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5600:80" # expose port 5600 to host
|
||||
environment:
|
||||
- DB_SERVER=${DB_SERVER}
|
||||
- DB_NAME=${DB_NAME}
|
||||
- DB_USERNAME=${DB_USERNAME}
|
||||
- DB_PASSWORD=${DB_PASSWORD}
|
||||
- S3_REGION=${S3_REGION}
|
||||
- S3_BUCKET=${S3_BUCKET}
|
||||
- S3_ACCESS_KEY=${S3_ACCESS_KEY}
|
||||
- S3_SECRET_KEY=${S3_SECRET_KEY}
|
||||
- S3_ENDPOINT=${S3_ENDPOINT}
|
||||
- KEYCLOAK_BASE_URL=${KEYCLOAK_BASE_URL}
|
||||
- KEYCLOAK_REALM=${KEYCLOAK_REALM}
|
||||
- KEYCLOAK_CLIENT_ID=${KEYCLOAK_CLIENT_ID}
|
||||
- KEYCLOAK_CLIENT_SECRET=${KEYCLOAK_CLIENT_SECRET}
|
||||
- KEYCLOAK_REDIRECT_URI=${KEYCLOAK_REDIRECT_URI}
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
Reference in New Issue
Block a user