mirror of
https://github.com/yanislav-igonin/micrach
synced 2025-04-20 03:40:33 +03:00
add env in compose
This commit is contained in:
parent
20bea8c320
commit
2393d33421
@ -12,6 +12,13 @@ services:
|
|||||||
IS_RATE_LIMITER_ENABLED: ${IS_RATE_LIMITER_ENABLED}
|
IS_RATE_LIMITER_ENABLED: ${IS_RATE_LIMITER_ENABLED}
|
||||||
THREADS_MAX_COUNT: ${THREADS_MAX_COUNT}
|
THREADS_MAX_COUNT: ${THREADS_MAX_COUNT}
|
||||||
POSTGRES_URL: ${POSTGRES_URL}
|
POSTGRES_URL: ${POSTGRES_URL}
|
||||||
|
THREAD_BUMP_LIMIT: ${THREAD_BUMP_LIMIT}
|
||||||
|
IS_CAPTCHA_ACTIVE: ${IS_CAPTCHA_ACTIVE}
|
||||||
|
GATEWAY_URL: ${GATEWAY_URL}
|
||||||
|
GATEWAY_API_KEY: ${GATEWAY_API_KEY}
|
||||||
|
GATEWAY_BOARD_ID: ${GATEWAY_BOARD_ID}
|
||||||
|
GATEWAY_BOARD_URL: ${GATEWAY_BOARD_URL}
|
||||||
|
GATEWAY_BOARD_DESCRIPTION: ${GATEWAY_BOARD_DESCRIPTION}
|
||||||
volumes:
|
volumes:
|
||||||
- /root/micrach-go/uploads:/app/uploads
|
- /root/micrach-go/uploads:/app/uploads
|
||||||
deploy:
|
deploy:
|
||||||
@ -33,11 +40,11 @@ services:
|
|||||||
traefik.http.middlewares.micrach-https-redirect.redirectscheme.scheme: "https"
|
traefik.http.middlewares.micrach-https-redirect.redirectscheme.scheme: "https"
|
||||||
|
|
||||||
traefik.http.routers.micrach.entrypoints: "http"
|
traefik.http.routers.micrach.entrypoints: "http"
|
||||||
traefik.http.routers.micrach.rule: "Host(`micrach.igonin.dev`) && PathPrefix(`/b`)"
|
traefik.http.routers.micrach.rule: "Host(`micrach.igonin.dev`) && PathPrefix(`/${GATEWAY_BOARD_ID}`)"
|
||||||
traefik.http.routers.micrach.middlewares: "micrach-https-redirect"
|
traefik.http.routers.micrach.middlewares: "micrach-https-redirect"
|
||||||
|
|
||||||
traefik.http.routers.micrach-secure.entrypoints: "https"
|
traefik.http.routers.micrach-secure.entrypoints: "https"
|
||||||
traefik.http.routers.micrach-secure.rule: "Host(`micrach.igonin.dev`) && PathPrefix(`/b`)"
|
traefik.http.routers.micrach-secure.rule: "Host(`micrach.igonin.dev`) && PathPrefix(`/${GATEWAY_BOARD_ID}`)"
|
||||||
traefik.http.routers.micrach-secure.tls: "true"
|
traefik.http.routers.micrach-secure.tls: "true"
|
||||||
traefik.http.routers.micrach-secure.service: "micrach"
|
traefik.http.routers.micrach-secure.service: "micrach"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user