forked from TiBillet/DEPECREATED-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (29 loc) · 920 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (29 loc) · 920 Bytes
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
version: "3.7"
services:
tibdoc_nodejs:
container_name: tibdoc_nodejs
image: node:16-bullseye
environment:
DEV: 1
TIMEZONE: Indian/Reunion
volumes:
- ./tibillet:/documentation
working_dir: /documentation
command: "bash /documentation/build.sh"
tibdoc:
image: nginx
restart: always
volumes:
- ./tibillet/build:/var/www/html
- ./nginx:/etc/nginx/conf.d
labels:
- traefik.enable=true
- traefik.docker.network=frontend
- traefik.http.routers.tibdoc.tls.certresolver=tlsresolver
- traefik.http.routers.tibdoc.entrypoints=websecure
- traefik.http.routers.tibdoc.rule=Host(`tibillet.com`) || Host(`www.tibillet.com`) || Host(`tibillet.co`) || Host(`www.tibillet.co`) || Host(`tibillet.fr`) || Host(`www.tibillet.fr`) || Host(`wiki.tibillet.re`)
networks:
- frontend
networks:
frontend:
external: true