-
Notifications
You must be signed in to change notification settings - Fork 102
/
docker-compose.under-phrasea.yml
37 lines (33 loc) · 1.26 KB
/
docker-compose.under-phrasea.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "3.9"
networks:
phrasea:
name: ${PHRASEA_NETWORK_NAME}
external: true
services:
gateway-traefik:
networks:
- internal
- phrasea
labels:
- "traefik.enable=true"
- "traefik.docker.network=${PHRASEA_NETWORK_NAME}"
- "traefik.http.routers.phraseanet.rule=Host(`${PHRASEANET_HOSTNAME}`)"
- "traefik.http.routers.phraseanet.tls=true"
- "traefik.project_name=${PHRASEA_COMPOSE_PROJECT_NAME}"
phraseanet:
extra_hosts:
- api-auth.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- api-databox.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- api-expose.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- api-uploader.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- databox-indexer.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- minio.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- phraseanet.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
worker:
extra_hosts:
- api-auth.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- api-databox.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- api-expose.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- api-uploader.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- databox-indexer.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}
- minio.${PHRASEA_DOMAIN}:${PHRASEA_GATEWAY_IP}