From be9b04f64880959d93df59d8efd1789a57b7661e Mon Sep 17 00:00:00 2001 From: lunchbox Date: Sat, 18 Mar 2023 14:34:52 -0500 Subject: [PATCH] new stuff --- HRConvert2/docker-compose.yaml | 3 + epicgames-freegames/docker-compose.yaml | 1 + immich/sample.env | 79 +++++++++++++++++++++++++ joplin/docker-compose.yaml | 30 ++++++++++ joplin/example.env | 26 ++++++++ paperless-full/docker-compose.yaml | 78 ++++++++++++++++++++++++ paperless-full/sample.env | 9 +++ synapse/docker-compose.yaml | 21 +++++++ uptime-kuma/docker-compose.yaml | 1 - 9 files changed, 247 insertions(+), 1 deletion(-) create mode 100644 HRConvert2/docker-compose.yaml create mode 100644 epicgames-freegames/docker-compose.yaml create mode 100644 immich/sample.env create mode 100644 joplin/docker-compose.yaml create mode 100644 joplin/example.env create mode 100644 paperless-full/docker-compose.yaml create mode 100644 paperless-full/sample.env create mode 100644 synapse/docker-compose.yaml diff --git a/HRConvert2/docker-compose.yaml b/HRConvert2/docker-compose.yaml new file mode 100644 index 0000000..1216d06 --- /dev/null +++ b/HRConvert2/docker-compose.yaml @@ -0,0 +1,3 @@ +git clone https://github.com/dwaaan/HRConvert2-Docker +Edit config.php - make sure to atleast set the salts and the URL +docker-compose up -d \ No newline at end of file diff --git a/epicgames-freegames/docker-compose.yaml b/epicgames-freegames/docker-compose.yaml new file mode 100644 index 0000000..0fefff4 --- /dev/null +++ b/epicgames-freegames/docker-compose.yaml @@ -0,0 +1 @@ +https://hub.docker.com/r/charlocharlie/epicgames-freegames \ No newline at end of file diff --git a/immich/sample.env b/immich/sample.env new file mode 100644 index 0000000..2cfb1e7 --- /dev/null +++ b/immich/sample.env @@ -0,0 +1,79 @@ +################################################################################### +# Database +################################################################################### + +DB_HOSTNAME=immich_postgres +DB_USERNAME=postgres +DB_PASSWORD=postgres +DB_DATABASE_NAME=immich + +# Optional Database settings: +# DB_PORT=5432 + +################################################################################### +# Redis +################################################################################### + +REDIS_HOSTNAME=immich_redis + +# Optional Redis settings: +# REDIS_PORT=6379 +# REDIS_DBINDEX=0 +# REDIS_PASSWORD= +# REDIS_SOCKET= + +################################################################################### +# Upload File Location +# +# This is the location where uploaded files are stored. +################################################################################### + +UPLOAD_LOCATION=absolute_location_on_your_machine_where_you_want_to_store_the_backup + +################################################################################### +# Reverse Geocoding +# +# Reverse geocoding is done locally which has a small impact on memory usage +# This memory usage can be altered by changing the REVERSE_GEOCODING_PRECISION variable +# This ranges from 0-3 with 3 being the most precise +# 3 - Cities > 500 population: ~200MB RAM +# 2 - Cities > 1000 population: ~150MB RAM +# 1 - Cities > 5000 population: ~80MB RAM +# 0 - Cities > 15000 population: ~40MB RAM +#################################################################################### + +# DISABLE_REVERSE_GEOCODING=false +# REVERSE_GEOCODING_PRECISION=3 + +#################################################################################### +# WEB - Optional +# +# Custom message on the login page, should be written in HTML form. +# For example: +# PUBLIC_LOGIN_PAGE_MESSAGE="This is a demo instance of Immich.

Email: demo@demo.de
Password: demo" +#################################################################################### + +PUBLIC_LOGIN_PAGE_MESSAGE= + +#################################################################################### +# Alternative Service Addresses - Optional +# +# This is an advanced feature for users who may be running their immich services on different hosts. +# It will not change which address or port that services bind to within their containers, but it will change where other services look for their peers. +# Note: immich-microservices is bound to 3002, but no references are made +#################################################################################### + +IMMICH_WEB_URL=http://immich-web:3000 +IMMICH_SERVER_URL=http://immich-server:3001 +IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003 + +#################################################################################### +# Alternative API's External Address - Optional +# +# This is an advanced feature used to control the public server endpoint returned to clients during Well-known discovery. +# You should only use this if you want mobile apps to access the immich API over a custom URL. Do not include trailing slash. +# NOTE: At this time, the web app will not be affected by this setting and will continue to use the relative path: /api +# Examples: http://localhost:3001, http://immich-api.example.com, etc +#################################################################################### + +#IMMICH_API_URL_EXTERNAL=http://localhost:3001 \ No newline at end of file diff --git a/joplin/docker-compose.yaml b/joplin/docker-compose.yaml new file mode 100644 index 0000000..162b2c4 --- /dev/null +++ b/joplin/docker-compose.yaml @@ -0,0 +1,30 @@ +version: '3' + +services: + db: + image: postgres:15 + volumes: + - ./data/postgres:/var/lib/postgresql/data + ports: + - "5432:5432" + restart: unless-stopped + environment: + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + - POSTGRES_USER=${POSTGRES_USER} + - POSTGRES_DB=${POSTGRES_DATABASE} + app: + image: laurent22/joplin-server:latest + depends_on: + - db + ports: + - "22300:22300" + restart: unless-stopped + environment: + - APP_PORT=22300 + - APP_BASE_URL=${APP_BASE_URL} + - DB_CLIENT=pg + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + - POSTGRES_DATABASE=${POSTGRES_DATABASE} + - POSTGRES_USER=${POSTGRES_USER} + - POSTGRES_PORT=${POSTGRES_PORT} + - POSTGRES_HOST=db \ No newline at end of file diff --git a/joplin/example.env b/joplin/example.env new file mode 100644 index 0000000..ca32f38 --- /dev/null +++ b/joplin/example.env @@ -0,0 +1,26 @@ +# ============================================================================= +# PRODUCTION CONFIG EXAMPLE +# ----------------------------------------------------------------------------- +# By default it will use SQLite, but that's mostly to test and evaluate the +# server. So you'll want to specify db connection settings to use Postgres. +# ============================================================================= +# +# APP_BASE_URL=https://example.com/joplin +# APP_PORT=22300 +# +# DB_CLIENT=pg +# POSTGRES_PASSWORD=joplin +# POSTGRES_DATABASE=joplin +# POSTGRES_USER=joplin +# POSTGRES_PORT=5432 +# POSTGRES_HOST=localhost + +# ============================================================================= +# DEV CONFIG EXAMPLE +# ----------------------------------------------------------------------------- +# Example of local config, for development. In dev mode, you would usually use +# SQLite so database settings are not needed. +# ============================================================================= +# +# APP_BASE_URL=http://localhost:22300 +# APP_PORT=22300 \ No newline at end of file diff --git a/paperless-full/docker-compose.yaml b/paperless-full/docker-compose.yaml new file mode 100644 index 0000000..c486142 --- /dev/null +++ b/paperless-full/docker-compose.yaml @@ -0,0 +1,78 @@ +services: + redis: + image: redis:6.2 + container_name: paperless-redis + restart: unless-stopped + volumes: + - ./redis:/data + + db: + image: postgres:14 + container_name: paperless-db + restart: unless-stopped + volumes: + - ./db:/var/lib/postgresql/data + environment: + POSTGRES_DB: $PGDB + POSTGRES_USER: $PGUSER + POSTGRES_PASSWORD: $PGPW + + webserver: + image: ghcr.io/paperless-ngx/paperless-ngx:latest + container_name: paperlessngx + restart: unless-stopped + depends_on: + - db + - redis + - gotenberg + - tika + ports: + - 8777:8000 + volumes: + - ./app/data:/usr/src/paperless/data + - ./app/media:/usr/src/paperless/media + - ./app/export:/usr/src/paperless/export + - ./app/consume:/usr/src/paperless/consume + environment: + PAPERLESS_REDIS: redis://redis:6379 + PAPERLESS_DBHOST: db + USERMAP_UID: $PUID + USERMAP_GID: $PGID + PAPERLESS_TIME_ZONE: $TZ + PAPERLESS_ADMIN_USER: $ADMINUSER + PAPERLESS_ADMIN_PASSWORD: $ADMINPW + PAPERLESS_OCR_LANGUAGE: deu+eng #change as necessary, read the documentation for more info + PAPERLESS_TIKA_ENABLED: 1 + PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000 #don't change + PAPERLESS_TIKA_ENDPOINT: http://tika:9998 #don't change + networks: + - default +#uncomment the following line and change the network name as necessary to add the webserver to your reverse proxy network + #- proxy + + gotenberg: + image: gotenberg/gotenberg:7.4 + restart: unless-stopped + container_name: gotenberg + ports: + - 3000:3000 # change the port mapping if you need + command: + - "gotenberg" + - "--chromium-disable-routes=true" + + tika: + image: ghcr.io/paperless-ngx/tika:latest + container_name: tika + ports: + - 9998:9998 # change the port mapping if you need + restart: unless-stopped + +networks: + default: + name: paperless + ipam: + config: + - subnet: 172.xx.0.0/29 #change the subnet as necessary +#uncomment the following lines and change the network name as necessary to add your reverse proxy network + #proxy: + #external: true \ No newline at end of file diff --git a/paperless-full/sample.env b/paperless-full/sample.env new file mode 100644 index 0000000..239e3e5 --- /dev/null +++ b/paperless-full/sample.env @@ -0,0 +1,9 @@ +#environment https://academy.pointtosource.com/containers/paperless-scanning/ +PUID= +PGID= +TZ=[Continent/City] #change as necessary, removing the `[]` brackets +PGDB= +PGUSER= +PGPW= +ADMINUSER= +ADMINPW= \ No newline at end of file diff --git a/synapse/docker-compose.yaml b/synapse/docker-compose.yaml new file mode 100644 index 0000000..202fea5 --- /dev/null +++ b/synapse/docker-compose.yaml @@ -0,0 +1,21 @@ +version: "3.3" + +services: + synapse: + image: "matrixdotorg/synapse:latest" + container_name: "synapse" + volumes: + - "./data:/data" + environment: + VIRTUAL_HOST: "sub.domain.com" + VIRTUAL_PORT: 8008 + LETSENCRYPT_HOST: "sub.domain.com" + SYNAPSE_SERVER_NAME: "sub.domain.com" + SYNAPSE_REPORT_STATS: "yes" + # networks: ["server"] + + +# networks: + # server: + # external: true +https://linuxhandbook.com/install-matrix-synapse-docker/ \ No newline at end of file diff --git a/uptime-kuma/docker-compose.yaml b/uptime-kuma/docker-compose.yaml index 301cd77..bd814b2 100644 --- a/uptime-kuma/docker-compose.yaml +++ b/uptime-kuma/docker-compose.yaml @@ -7,6 +7,5 @@ services: restart: unless-stopped volumes: - ./data:/app/data -# - /var/run/docker.sock:/var/run/docker.sock ports: - 3001:3001 # : \ No newline at end of file