-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
31 lines (27 loc) · 903 Bytes
/
docker-compose.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
version: '3.8'
services:
mongo:
image: mongo
container_name: abacws-mongo
restart: always
volumes:
- ./mongo:/data/db
api:
image: ghcr.io/randomman552/abacws-data-vis:api-latest
container_name: abacws-api
restart: always
depends_on:
- mongo
visualiser:
image: ghcr.io/randomman552/abacws-data-vis:visualiser-latest
container_name: abacws-visualiser
restart: always
depends_on:
- api
# Traefik is recommended, you can set up a NGINX or Apache proxy instead, but traefik is much easier.
labels:
- "traefik.enable=true"
- "traefik.http.services.abacws-visualiser.loadbalancer.server.port=80"
- "traefik.http.routers.abacws-visualiser.rule=Host(`visualiser.abacws.example.com`)"
- "traefik.http.routers.abacws-visualiser.entrypoints=https"
- "traefik.http.routers.abacws-visualiser.tls=true"