add composes
This commit is contained in:
parent
b43e4aa179
commit
f909f0f8e8
15
.gitignore
vendored
15
.gitignore
vendored
|
@ -1,12 +1,13 @@
|
|||
# Ignore everything
|
||||
**
|
||||
*
|
||||
|
||||
# But not this file
|
||||
!**/compose.yml
|
||||
!README.md
|
||||
|
||||
# But not these directories; this allows us to look inside them
|
||||
!*/
|
||||
|
||||
# But not these files
|
||||
!**/*.md
|
||||
!.gitignore
|
||||
|
||||
|
||||
# Caddy
|
||||
!**/compose.yml
|
||||
!**/Caddyfile
|
||||
!**/.env.example
|
||||
|
|
2
caddy/.env.example
Normal file
2
caddy/.env.example
Normal file
|
@ -0,0 +1,2 @@
|
|||
PORKBUN_API_KEY=
|
||||
PORKBUN_API_SECRET_KEY=
|
41
caddy/Caddyfile
Normal file
41
caddy/Caddyfile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# GLOBAL CONFIGURATIONS
|
||||
{
|
||||
#http_port 81
|
||||
#https_port 444
|
||||
# readd later already rate limited :(
|
||||
email mika.bomm@outlook.com
|
||||
acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
|
||||
#acme_dns porkbun {
|
||||
# api_key {$PORKBUN_API_KEY} # dont hardcode this please
|
||||
# api_secret_key {$PORKBUN_API_SECRET_KEY} #dont hardcode this please
|
||||
#}
|
||||
|
||||
# auto_https off
|
||||
# Done for debugging
|
||||
}
|
||||
|
||||
# SNIPPETS
|
||||
(logging) {
|
||||
log {
|
||||
output file /var/log/caddy.log
|
||||
format json
|
||||
}
|
||||
}
|
||||
|
||||
#pdf2.mixel.cloud {
|
||||
# reverse_proxy 192.168.178.230:55556
|
||||
#}
|
||||
|
||||
mini1.docker.local {
|
||||
import logging
|
||||
reverse_proxy http://192.168.178.230:55556
|
||||
}
|
||||
|
||||
http://192.168.178.230 {
|
||||
import logging
|
||||
reverse_proxy http://192.168.178.230:55556
|
||||
}
|
||||
|
||||
:81 {
|
||||
respond "Hello, World!"
|
||||
}
|
29
caddy/compose.yaml
Normal file
29
caddy/compose.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
services:
|
||||
caddy:
|
||||
image: caddy:2.8.4-alpine
|
||||
restart: unless-stopped
|
||||
container_name: caddy
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "81:81"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./site:/srv
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- ./logs:/var/log/caddy
|
||||
networks:
|
||||
- caddy
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
networks:
|
||||
caddy:
|
||||
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
external: true
|
||||
caddy_config:
|
||||
|
9
ddns-updater/compose.yaml
Normal file
9
ddns-updater/compose.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
services:
|
||||
ddns-updater:
|
||||
ports:
|
||||
- 55555:8000/tcp
|
||||
volumes:
|
||||
- /opt/stacks/ddns-updater/data:/updater/data
|
||||
image: qmcgaw/ddns-updater
|
||||
restart: unless-stopped
|
||||
networks: {}
|
14
stirling-pdf/compose.yaml
Normal file
14
stirling-pdf/compose.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
services:
|
||||
stirling-pdf:
|
||||
image: frooodle/s-pdf:latest
|
||||
ports:
|
||||
- '55556:8080'
|
||||
volumes:
|
||||
- ./trainingData:/usr/share/tessdata #Required for extra OCR languages
|
||||
- ./extraConfigs:/configs
|
||||
# - ./customFiles:/customFiles/
|
||||
# - ./logs:/logs/
|
||||
environment:
|
||||
- DOCKER_ENABLE_SECURITY=false
|
||||
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
|
||||
- LANGS=en_GB
|
Loading…
Reference in a new issue