vault & monica

This commit is contained in:
Brieuc Dubois 2023-10-13 15:03:14 +02:00 committed by shp
parent 0ed60e8657
commit 39e1aad5d8
3 changed files with 74 additions and 12 deletions

View File

@ -0,0 +1,28 @@
services:
app:
container_name: monica
image: monica
environment:
- APP_KEY=${MONICA_APPKEY}
- DB_HOST=mariadb
- DB_USERNAME=root
- DB_PASSWORD=${MARIADB_ROOT}
labels:
- "traefik.enable=true"
- "traefik.http.routers.monica.rule=Host(`monica.bhasher.com`)"
- "traefik.http.services.monica.loadbalancer.server.port=80"
- "traefik.http.routers.monica.tls=true"
- "traefik.http.routers.monica.tls.certresolver=http"
- "traefik.http.routers.monica.entrypoints=internalsecure"
volumes:
- $DATA/monica:/var/www/html/storage
restart: unless-stopped
networks:
- storage
- external
networks:
external:
external: true
storage:
external: true

View File

@ -0,0 +1,34 @@
services:
vaultwarden:
image: vaultwarden/server:1.26.0-alpine
container_name: vaultwarden
restart: unless-stopped
volumes:
- $DATA/vaultwarden:/data
environment:
- DATABASE_URL=${VAULT_DATABASE_URL}
- SIGNUPS_ALLOWED=false
- DOMAIN=https://vault.bhasher.com
- ADMIN_TOKEN=${VAULT_ADMIN}
- SMTP_HOST=bdubois.io
- SMTP_FROM=no-reply@bhasher.com
- SMTP_PORT=587
- SMTP_SECURITY=starttls
- SMTP_USERNAME=${SMTP_USER}
- SMTP_PASSWORD=${SMTP_PASSWORD}
labels:
- "traefik.enable=true"
- "traefik.http.routers.vaultwarden.rule=Host(`vault.bhasher.com`)"
- "traefik.http.routers.vaultwarden.entrypoints=internalsecure"
- "traefik.http.services.vaultwarden.loadbalancer.server.port=80"
- "traefik.http.routers.vaultwarden.tls=true"
- "traefik.http.routers.vaultwarden.tls.certresolver=http"
networks:
- external
- storage
networks:
external:
external: true
storage:
external: true

View File

@ -46,11 +46,6 @@ sections:
url: https://element.bhasher.com
statusCheckUrl: http://matrix-riot
id: 4_1507_elementweb
- title: Shlink
icon: hl-shlink
url: https://shlink.bhasher.com
statusCheckUrl: https://shlink_ui
id: 5_1507_shlink
- name: Private services
displayData:
sortBy: most-used
@ -118,25 +113,30 @@ sections:
icon: hl-portainer
url: https://portainer.vps.bhasher.com
id: 11_1631_portainervps
- title: Portainer (LLN)
icon: hl-portainer
url: https://portainer.lln.bhasher.com
id: 12_1631_portainerlln
- title: Home assistant
icon: hl-home-assistant
url: https://hass.bhasher.com
statusCheckUrl: http://hass:8123
id: 13_1631_homeassistant
id: 12_1631_homeassistant
- title: Node-red
icon: hl-node-red
url: https://nodered.bhasher.com
statusCheckUrl: http://nodered:1880
id: 14_1631_nodered
id: 13_1631_nodered
- title: Planka
icon: hl-planka
url: https://planka.bhasher.com
statusCheckUrl: http://planka:1337
id: 15_1631_planka
id: 14_1631_planka
- title: Monica
icon: hl-monica
url: https://monica.bhasher.com
statusCheck: true
id: 15_1631_monica
- title: Vaultwarden
icon: hl-vaultwarden
url: https://vault.bhasher.com
id: 16_1631_vaultwarden
- name: System services
displayData:
sortBy: most-used