Kopie van https://gitlab.com/studieverenigingvia/ict/centurion met een paar aanpassingen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
685 B
34 lines
685 B
version: "3.4"
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
restart: unless-stopped
|
|
networks:
|
|
- centurion
|
|
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
environment:
|
|
NODE_ENV: production
|
|
expose:
|
|
- 80
|
|
restart: unless-stopped
|
|
networks:
|
|
- web
|
|
- centurion
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=web"
|
|
- "traefik.http.routers.centurion.rule=Host(`centurion.harambee.utwente.nl`)"
|
|
- "traefik.http.routers.centurion.tls=true"
|
|
- "traefik.http.routers.centurion.tls.options=default"
|
|
|
|
networks:
|
|
web:
|
|
external: true
|
|
centurion:
|
|
name: centurion
|
|
internal: true
|
|
|