fbb5c28e1c
* Add Flightlog * Fix version error * Update apps/flightlog/metadata/description.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update apps/flightlog/metadata/description.md * Update apps/flightlog/metadata/description.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * refactor(flightlog): remove the website option from the config --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Stavros <steveiliop56@gmail.com>
41 lines
1.7 KiB
YAML
41 lines
1.7 KiB
YAML
version: '3.7'
|
|
|
|
services:
|
|
flightlog:
|
|
container_name: flightlog
|
|
image: perdian/flightlog:v2.0.1
|
|
environment:
|
|
- FLIGHTLOG_SERVER_CONTEXT_PATH=/
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/db:/var/flightlog/database
|
|
ports:
|
|
- ${APP_PORT}:8080
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.flightlog-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.flightlog.loadbalancer.passhostheader: true
|
|
traefik.http.services.flightlog.loadbalancer.server.port: 8080
|
|
# Web
|
|
traefik.http.routers.flightlog-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.flightlog-insecure.entrypoints: web
|
|
traefik.http.routers.flightlog-insecure.service: flightlog
|
|
traefik.http.routers.flightlog-insecure.middlewares: flightlog-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.flightlog.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.flightlog.entrypoints: websecure
|
|
traefik.http.routers.flightlog.service: flightlog
|
|
traefik.http.routers.flightlog.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.flightlog-local-insecure.rule: Host(`flightlog.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.flightlog-local-insecure.entrypoints: web
|
|
traefik.http.routers.flightlog-local-insecure.service: flightlog
|
|
traefik.http.routers.flightlog-local-insecure.middlewares: flightlog-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.flightlog-local.rule: Host(`flightlog.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.flightlog-local.entrypoints: websecure
|
|
traefik.http.routers.flightlog-local.service: flightlog
|
|
traefik.http.routers.flightlog-local.tls: true
|