From e1b84019554369038255cb568c5123f4a0c769ca Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Jan 2021 15:35:29 +0100 Subject: [PATCH] Eerste commit voor centurion harambee versie --- backend/data/timelines.js | 2 +- docker-compose.yml | 25 +++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/backend/data/timelines.js b/backend/data/timelines.js index 6fcc77a..6baa3d5 100644 --- a/backend/data/timelines.js +++ b/backend/data/timelines.js @@ -2,7 +2,7 @@ module.exports = { 'timelines': [ { 'name': 'Centurion', - 'songFile': 'songs/centurion.m4a', + 'songFile': 'songs/centurion.mp3', 'feed': [ { diff --git a/docker-compose.yml b/docker-compose.yml index 12189a2..0ab965d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,11 +3,32 @@ services: backend: build: context: ./backend + restart: unless-stopped + networks: + - centurion + frontend: build: context: ./frontend environment: NODE_ENV: production - ports: - - 8800:80 + 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