Initial Commit
This commit is contained in:
14
docker/env/.env.common
vendored
Normal file
14
docker/env/.env.common
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
##### SYSTEM
|
||||
UID=1000
|
||||
GID=1000
|
||||
TZ=Europe/HelsinkI
|
||||
|
||||
#USERDIR=/home/gurulandia
|
||||
DOCKERDIR=/gurulandia/data
|
||||
SECRETSDIR=/gurulandia/docker-shared/secrets
|
||||
|
||||
##### DOMAIN
|
||||
DOMAINNAME0=gurulandia.eu
|
||||
DOMAINNAME1=lab.gurulandia.eu
|
||||
DOMAINNAME2=gurulandia.fi
|
||||
DOMAINNAME3=home.gurulandia.fi
|
||||
27
docker/env/.env.joplin-srv
vendored
Normal file
27
docker/env/.env.joplin-srv
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# APP_BASE_URL: This is the base public URL where the service will be running.
|
||||
# - If Joplin Server needs to be accessible over the internet, configure APP_BASE_URL as follows: https://example.com/joplin.
|
||||
# - If Joplin Server does not need to be accessible over the internet, set the APP_BASE_URL to your server's hostname.
|
||||
# For Example: http://[hostname]:22300. The base URL can include the port.
|
||||
# APP_PORT: The local port on which the Docker container will listen.
|
||||
# - This would typically be mapped to port to 443 (TLS) with a reverse proxy.
|
||||
# - If Joplin Server does not need to be accessible over the internet, the port can be mapped to 22300.
|
||||
#- APP_BASE_URL=http://10.0.6.177:22300
|
||||
|
||||
APP_BASE_URL=https://joplin.lab.gurulandia.eu
|
||||
APP_PORT=53014 #22300
|
||||
# Database
|
||||
DB_CLIENT=pg
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_HOST=10.0.6.178
|
||||
|
||||
#- STORAGE_DRIVER=Type=S3; Region=us-east-1; Path=http://192.168.55.30:53008; AccessKeyId=joplinsrv; SecretAccessKeyId=joplinsrv; Bucket=joplin
|
||||
|
||||
# Mai8ler
|
||||
MAILER_ENABLED=1
|
||||
MAILER_HOST=mailrise.lab.gurulandia.eu
|
||||
MAILER_PORT=465
|
||||
MAILER_SECURITY=tls
|
||||
MAILER_AUTH_USER=gurulandia
|
||||
MAILER_AUTH_PASSWORD=gurulandia
|
||||
MAILER_NOREPLY_NAME=JoplinServer
|
||||
MAILER_NOREPLY_EMAIL=no-reply@mail.gurulandia.eu
|
||||
3
docker/env/.env.joplin-srv.db-cred
vendored
Normal file
3
docker/env/.env.joplin-srv.db-cred
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
POSTGRES_PASSWORD=joplinsrv
|
||||
POSTGRES_DATABASE=joplin
|
||||
POSTGRES_USER=joplinsrv
|
||||
2
docker/env/.env.joplin-srv.withdb
vendored
Normal file
2
docker/env/.env.joplin-srv.withdb
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Database
|
||||
POSTGRES_HOST=db
|
||||
14
docker/env/.env.proxy
vendored
Normal file
14
docker/env/.env.proxy
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
BASICAUTHUSER=gurulandia:$$apr1$$kBqxEDFb$$aOgGWvLwFUDhSymDy430m.
|
||||
# create basic auth with: echo $(htpasswd -nb "<USER>" "<PASSWORD>") | sed -e s/\\$/\\$\\$/g
|
||||
|
||||
##### trustedIPs
|
||||
CLOUDFLARE_IPS=173.245.48.0/20,103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,141.101.64.0/18,108.162.192.0/18,190.93.240.0/20,188.114.96.0/20,197.234.240.0/22,198.41.128.0/17,162.158.0.0/15,172.64.0.0/13,131.0.72.0/22,104.16.0.0/13,104.24.0.0/14
|
||||
LOCAL_IPS=127.0.0.1/32,10.0.0.0/8,192.168.0.0/16,172.16.0.0/12
|
||||
|
||||
##### Certificate
|
||||
CF_API_EMAIL=gurulandia@outlook.com
|
||||
|
||||
CERTRESOLVER=dns-cloudflare
|
||||
DNS_PROVIDER=cloudflare
|
||||
RESOLVER0=1.1.1.1:53
|
||||
RESOLVER1=1.0.0.1:53
|
||||
16
docker/env/.env.stack.joplin-srv
vendored
Normal file
16
docker/env/.env.stack.joplin-srv
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
COMPOSE_PROJECT_NAME=joplinserver
|
||||
|
||||
JOPLIN_NETWORk_ID=proxy
|
||||
JOPLIN_HOSTNAME=joplin
|
||||
|
||||
##### Joplin Server Container
|
||||
JOPLIN_CONTAINER_NAME=joplinsrv
|
||||
JOPLIN_IMAGE=joplin/server
|
||||
JOPLIN_TAG=latest
|
||||
JOPLIN_RESTART_POLICY=unless-stopped
|
||||
|
||||
##### Joplin Server DB Container
|
||||
JOPLINDB_CONTAINER_NAME=joplindb
|
||||
JOPLINDB_IMAGE=postgres
|
||||
JOPLINDB_TAG=16
|
||||
JOPLINDB_RESTART_POLICY=unless-stopped
|
||||
32
docker/env/.env.stack.proxy
vendored
Normal file
32
docker/env/.env.stack.proxy
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
COMPOSE_PROJECT_NAME=proxy
|
||||
|
||||
##### ProxyName
|
||||
PROXYNAME=proxy
|
||||
|
||||
##### Traefik Container
|
||||
TRAEFIK_CONTAINER_NAME=traefik
|
||||
TRAEFIK_IMAGE=traefik
|
||||
TRAEFIK_TAG=latest
|
||||
TRAEFIK_RESTART_POLICY=unless-stopped
|
||||
|
||||
##### socket-proxy Container
|
||||
SOCKET_PROXY_CONTAINER_NAME=socket-proxy
|
||||
SOCKET_PROXY_IMAGE=ghcr.io/tecnativa/docker-socket-proxy
|
||||
SOCKET_PROXY_TAG=latest
|
||||
SOCKET_PROXY_RESTART_POLICY=always
|
||||
|
||||
##### Crowdsec Container
|
||||
CROWDSEC_CONTAINER_NAME=crowdsec
|
||||
CROWDSEC_IMAGE=crowdsecurity/crowdsec
|
||||
CROWDSEC_TAG=latest
|
||||
CROWDSEC_RESTART_POLICY=unless-stopped
|
||||
|
||||
##### bouncer-traefik Container
|
||||
BT_CONTAINER_NAME=bouncer-traefik
|
||||
BT_IMAGE=docker.io/fbonalair/traefik-crowdsec-bouncer
|
||||
BT_TAG=latest
|
||||
BT_RESTART_POLICY=unless-stopped
|
||||
|
||||
GIN_MODE=release
|
||||
|
||||
DOCKER_ENDPOINT=tcp://${SOCKET_PROXY_CONTAINER_NAME}:2375
|
||||
Reference in New Issue
Block a user