chore(mind): refactor config

This commit is contained in:
Nicolas Meienberger 2023-03-01 21:06:08 +01:00
parent 7c6f52f551
commit 2fd1db7fc7

View File

@ -1,21 +1,21 @@
version: '3.3' version: '3.3'
services: services:
mind: mind:
container_name: mind container_name: mind
volumes: image: mrcas/mind:v1.2.0
- ${APP_DATA_DIR}/data/mind-db:/app/db volumes:
environment: - ${APP_DATA_DIR}/data/mind-db:/app/db
- TZ=${TZ} environment:
ports: - TZ=${TZ}
- ${APP_PORT}:8080 ports:
image: mrcas/mind:v1.2.0 - ${APP_PORT}:8080
networks: networks:
- tipi_main_network - tipi_main_network
labels: labels:
traefik.enable: ${APP_EXPOSED} traefik.enable: ${APP_EXPOSED}
traefik.http.routers.mind.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.mind.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.mind.entrypoints: websecure traefik.http.routers.mind.entrypoints: websecure
traefik.http.routers.mind.service: mind traefik.http.routers.mind.service: mind
traefik.http.routers.mind.tls.certresolver: myresolver traefik.http.routers.mind.tls.certresolver: myresolver
traefik.http.services.mind.loadbalancer.server.port: 8080 traefik.http.services.mind.loadbalancer.server.port: 8080