forked from credebl/mediator-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-animo-mediator.yml
38 lines (35 loc) · 1.26 KB
/
docker-compose-animo-mediator.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
38
version: '3.5'
services:
animo-mediator:
image: ghcr.io/animo/animo-mediator:${IMAGE_TAG}
networks:
- traefik
deploy:
labels:
# Enable traefik so the container can be exposed to the outside world
traefik.enable: 'true'
# HTTP and WS communication
traefik.http.routers.animo-mediator.rule: Host(`mediator.dev.animo.id`)
traefik.http.routers.animo-mediator.entrypoints: web-secure
traefik.http.routers.animo-mediator.tls.certresolver: zerossl
traefik.http.routers.animo-mediator.service: animo-mediator-service
traefik.http.services.animo-mediator-service.loadbalancer.server.port: 3000
environment:
AGENT_PORT: 3000
AGENT_NAME: Animo Mediator
WALLET_NAME: animo-mediator
WALLET_KEY: ${WALLET_KEY}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_ADMIN_USER: ${POSTGRES_ADMIN_USER}
POSTGRES_ADMIN_PASSWORD: ${POSTGRES_ADMIN_PASSWORD}
AGENT_ENDPOINTS: 'https://mediator.dev.animo.id,wss://mediator.dev.animo.id'
INVITATION_URL: https://mediator.dev.animo.id/invite
LOG_LEVEL: 2
ports:
- '3000'
networks:
traefik:
external: true
name: traefik