app-store/apps/proxitok/docker-compose.yml
Nicolas Meienberger e495cc1293
ci: automerge minor and patch app upgrades (#720)
* fix: app version mismatchs between config and docker-compose

* ci: create automerge workflow

wip
2023-06-20 22:52:42 +02:00

66 lines
2.2 KiB
YAML

services:
proxitok:
container_name: proxitok
image: ghcr.io/pablouser1/proxitok:v2.4.9.2
restart: unless-stopped
ports:
- ${APP_PORT}:80
environment:
- "LATTE_CACHE=/cache"
- "API_CACHE=redis"
- "REDIS_HOST=proxitok-redis"
- "REDIS_PORT=6379"
- "API_SIGNER_URL=http://proxitok-signer:8080/signature"
volumes:
- "proxitok-cache:/cache"
depends_on:
- proxitok-redis
- proxitok-signer
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.proxitok-web-redirect.redirectscheme.scheme: https
traefik.http.services.proxitok.loadbalancer.server.port: 80
# Web
traefik.http.routers.proxitok-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.proxitok-insecure.entrypoints: web
traefik.http.routers.proxitok-insecure.service: proxitok
traefik.http.routers.proxitok-insecure.middlewares: proxitok-web-redirect
# Websecure
traefik.http.routers.proxitok.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.proxitok.entrypoints: websecure
traefik.http.routers.proxitok.service: proxitok
traefik.http.routers.proxitok.tls.certresolver: myresolver
# Local domain
traefik.http.routers.proxitok-local-insecure.rule: Host(`proxitok.${LOCAL_DOMAIN}`)
traefik.http.routers.proxitok-local-insecure.entrypoints: web
traefik.http.routers.proxitok-local-insecure.service: proxitok
traefik.http.routers.proxitok-local-insecure.middlewares: proxitok-web-redirect
# Local domain secure
traefik.http.routers.proxitok-local.rule: Host(`proxitok.${LOCAL_DOMAIN}`)
traefik.http.routers.proxitok-local.entrypoints: websecure
traefik.http.routers.proxitok-local.service: proxitok
traefik.http.routers.proxitok-local.tls: true
proxitok-redis:
container_name: proxitok-redis
image: docker.io/redis:7-alpine
restart: unless-stopped
command: redis-server --save 60 1 --loglevel warning
networks:
- tipi_main_network
proxitok-signer:
container_name: proxitok-signer
image: ghcr.io/pablouser1/signtok:master
networks:
- tipi_main_network
volumes:
proxitok-cache: