inital config for proxitok.tams.tech
This commit is contained in:
parent
a3b4143ab1
commit
84a994146a
|
@ -4,8 +4,6 @@ services:
|
||||||
web:
|
web:
|
||||||
container_name: proxitok-web
|
container_name: proxitok-web
|
||||||
image: ghcr.io/pablouser1/proxitok:master
|
image: ghcr.io/pablouser1/proxitok:master
|
||||||
ports:
|
|
||||||
- 8080:8080
|
|
||||||
environment:
|
environment:
|
||||||
- LATTE_CACHE=/cache
|
- LATTE_CACHE=/cache
|
||||||
- API_CACHE=redis
|
- API_CACHE=redis
|
||||||
|
@ -13,6 +11,7 @@ services:
|
||||||
- REDIS_PORT=6379
|
- REDIS_PORT=6379
|
||||||
- API_SIGNER=remote
|
- API_SIGNER=remote
|
||||||
- API_SIGNER_URL=http://proxitok-signer:8080/signature
|
- API_SIGNER_URL=http://proxitok-signer:8080/signature
|
||||||
|
- APP_URL=https://proxitok.tams.tech
|
||||||
volumes:
|
volumes:
|
||||||
- proxitok-cache:/cache
|
- proxitok-cache:/cache
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -20,6 +19,7 @@ services:
|
||||||
- signer
|
- signer
|
||||||
networks:
|
networks:
|
||||||
- proxitok
|
- proxitok
|
||||||
|
- web
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
cap_drop:
|
cap_drop:
|
||||||
|
@ -28,6 +28,20 @@ services:
|
||||||
- CHOWN
|
- CHOWN
|
||||||
- SETGID
|
- SETGID
|
||||||
- SETUID
|
- SETUID
|
||||||
|
labels:
|
||||||
|
# Traefik
|
||||||
|
traefik.docker.network: web
|
||||||
|
traefik.domain: tams.tech
|
||||||
|
traefik.enable: "true"
|
||||||
|
# Traefik v1
|
||||||
|
traefik.frontend.rule: Host:proxitok.tams.tech
|
||||||
|
# DNS discovery (not used)
|
||||||
|
tech.tams.dns_hosts: proxitok.tams.tech
|
||||||
|
# Traefik V2
|
||||||
|
traefik.http.routers.proxitok.rule: Host(`proxitok.tams.tech`)
|
||||||
|
traefik.http.routers.proxitok.tls: true
|
||||||
|
traefik.http.routers.proxitok.tls.certresolver: letsencrypt
|
||||||
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
container_name: proxitok-redis
|
container_name: proxitok-redis
|
||||||
|
@ -63,3 +77,6 @@ volumes:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxitok:
|
proxitok:
|
||||||
|
internal: true
|
||||||
|
web:
|
||||||
|
external: true
|
||||||
|
|
Loading…
Reference in a new issue