Compare commits
2 Commits
4ca9647a43
...
213de5466d
| Author | SHA1 | Date | |
|---|---|---|---|
| 213de5466d | |||
| c46bbbc075 |
17
docker/compose/dc-apprise-api.yml
Normal file
17
docker/compose/dc-apprise-api.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
services:
|
||||||
|
apprise-api:
|
||||||
|
image: ${APPRISE_IMAGE}:${APPRISE_TAG}
|
||||||
|
container_name: ${APPRISE_CONTAINER_NAME}
|
||||||
|
restart: ${APPRISE_RESTART_POLICY}
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
environment:
|
||||||
|
- PUID=${PUID:-1000}
|
||||||
|
- PGID=${PGID:-1000}
|
||||||
|
- TZ=${TZ}
|
||||||
|
volumes:
|
||||||
|
- ${DOCKERDIR}/apprise-api/config:/config
|
||||||
|
ports:
|
||||||
|
- ${APPRISE_PORT:-8000}:8000
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
@@ -8,7 +8,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
GID: "${GID-1000}"
|
GID: "${GID:-1000}"
|
||||||
env_file:
|
env_file:
|
||||||
- path: ./crowdsec.env
|
- path: ./crowdsec.env
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
29
docker/compose/dc-gotify.yml
Normal file
29
docker/compose/dc-gotify.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
#networks:
|
||||||
|
# notification:
|
||||||
|
# name: notification
|
||||||
|
# driver: bridge
|
||||||
|
# database:
|
||||||
|
# name: database
|
||||||
|
# external: true
|
||||||
|
services:
|
||||||
|
gotify:
|
||||||
|
image: ${GOTIFY_IMAGE}:${GOTIFY_TAG}
|
||||||
|
container_name: ${GOTIFY_CONTAINER_NAME}
|
||||||
|
restart: ${GOTIFY_RESTART_POLICY}
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
ports:
|
||||||
|
- ${GOTIFY_PORT:-8080}:80
|
||||||
|
# environment:
|
||||||
|
# - GOTIFY_DEFAULTUSER_PASS=custom
|
||||||
|
# - GOTIFY_DATABASE_DIALECT=mysql
|
||||||
|
# - GOTIFY_DATABASE_CONNECTION=gotify:ubKrbI1NNn)/ryKT@tcp(mariadb:3306)/gotify?charset=utf8&parseTime=True&loc=Local
|
||||||
|
# - GOTIFY_PLUGINSDIR=data/plugins
|
||||||
|
env_file:
|
||||||
|
- path: ./gotify.env
|
||||||
|
volumes:
|
||||||
|
- ${DOCKERDIR}/gotify/gotify_data:/app/data
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
# - notification
|
||||||
|
# - database
|
||||||
15
docker/compose/dc-mailrise.yml
Normal file
15
docker/compose/dc-mailrise.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
mailrise:
|
||||||
|
image: ${MAILRISE_IMAGE}:${MAILRISE_TAG}
|
||||||
|
container_name: ${MAILRISE_CONTAINER_NAME}
|
||||||
|
restart: ${MAILRISE_RESTART_POLICY}
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
ports:
|
||||||
|
- ${MAILRISE_PORT:-8025}:8025
|
||||||
|
volumes:
|
||||||
|
- ${DOCKERDIR}/mailrise/mailrise.conf:/etc/mailrise.conf
|
||||||
|
- ${DOCKERDIR}/mailrise/certs/cert.pem:/etc/ssl/cert.pem
|
||||||
|
- ${DOCKERDIR}/mailrise/certs/key.pem:/etc/ssl/key.pem
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
10
docker/compose/gotify.env
Normal file
10
docker/compose/gotify.env
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
DB_HOST=10.0.6.178
|
||||||
|
DB_PORT=5432
|
||||||
|
DB_USER=gotify
|
||||||
|
DB_PWD=gotify
|
||||||
|
DB_NAME=gotify
|
||||||
|
GOTIFY_DEFAULTUSER_NAME=admin
|
||||||
|
GOTIFY_DEFAULTUSER_PASS=admin
|
||||||
|
GOTIFY_DATABASE_DIALECT=postgres
|
||||||
|
GOTIFY_DATABASE_CONNECTION=host=${DB_HOST} port=${DB_PORT} user=${DB_USER} dbname=${DB_NAME} password=${DB_PWD}
|
||||||
|
GOTIFY_PLUGINSDIR=data/plugins
|
||||||
22
docker/dc-template.yml
Normal file
22
docker/dc-template.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
services:
|
||||||
|
crowdsec:
|
||||||
|
image: ${CROWDSEC_IMAGE}:${CROWDSEC_VERSION}
|
||||||
|
container_name: ${CROWDSEC_CONTAINER_NAME}
|
||||||
|
restart: ${CROWDSEC_RESTART_POLICY}
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
environment:
|
||||||
|
GID: "${GID-1000}"
|
||||||
|
env_file:
|
||||||
|
- path: ./crowdsec.env
|
||||||
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- ${DOCKERDIR}/crowdsec/acquis.d:/etc/crowdsec/acquis.d
|
||||||
|
#- ${DOCKERDIR}/crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
|
||||||
|
- ${DOCKERDIR}/crowdsec/db:/var/lib/crowdsec/data/
|
||||||
|
- ${DOCKERDIR}/crowdsec/config:/etc/crowdsec/
|
||||||
|
- ${DOCKERDIR}/traefik/logs:/var/log/traefik/:ro
|
||||||
|
- /var/log/auth.log:/logs/auth.log:ro
|
||||||
|
- /var/log/syslog.log:/logs/syslog.log:ro
|
||||||
34
docker/notification/.env
Normal file
34
docker/notification/.env
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
COMPOSE_PROJECT_NAME=notification
|
||||||
|
|
||||||
|
##### SYSTEM
|
||||||
|
PUID=1000
|
||||||
|
PGID=1000
|
||||||
|
TZ=Europe/HelsinkI
|
||||||
|
|
||||||
|
#USERDIR=/home/gurulandia
|
||||||
|
DOCKERDIR=/gurulandia/data
|
||||||
|
SECRETSDIR=/gurulandia/docker-shared/secrets
|
||||||
|
|
||||||
|
##### ProxyName
|
||||||
|
#PROXYNAME=proxy
|
||||||
|
|
||||||
|
##### Gotify Container
|
||||||
|
GOTIFY_CONTAINER_NAME=gotify-server
|
||||||
|
GOTIFY_IMAGE=gotify/serve
|
||||||
|
GOTIFY_TAG=latest
|
||||||
|
GOTIFY_RESTART_POLICY=unless-stopped
|
||||||
|
GOTIFY_PORT=8080
|
||||||
|
|
||||||
|
##### Apprise Container
|
||||||
|
APPRISE_CONTAINER_NAME=apprise-api
|
||||||
|
APPRISE_IMAGE=caronc/apprise
|
||||||
|
APPRISE_TAG=latest
|
||||||
|
APPRISE_RESTART_POLICY=unless-stopped
|
||||||
|
APPRISE_PORT=54008
|
||||||
|
|
||||||
|
##### Mailrise Container
|
||||||
|
MAILRISE_CONTAINER_NAME=mailrise
|
||||||
|
MAILRISE_IMAGE=yoryan/mailrise
|
||||||
|
MAILRISE_TAG=latest
|
||||||
|
MAILRISE_RESTART_POLICY=unless-stopped
|
||||||
|
MAILRISE_PORT=8025
|
||||||
19
docker/notification/docker-compose.yml
Normal file
19
docker/notification/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
########################### NETWORKS
|
||||||
|
# There is no need to create any networks outside this docker-compose file.
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
name: proxy
|
||||||
|
driver: bridge
|
||||||
|
external: true
|
||||||
|
#notification:
|
||||||
|
# name: notification
|
||||||
|
# driver: bridge
|
||||||
|
# Docker Compose v2.20 or greater required to use "include"
|
||||||
|
include:
|
||||||
|
########################### SERVICES
|
||||||
|
- ../compose/dc-gotify.yml
|
||||||
|
- ../compose/dc-apprise-api.yml
|
||||||
|
- ../compose/dc-mailrise.yml
|
||||||
|
#- ../compose/dc-traefik-bouncer.yml
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user