Eerste commit voor centurion harambee versie

master
root 3 years ago
parent e8453967a8
commit e1b8401955
  1. 2
      backend/data/timelines.js
  2. 25
      docker-compose.yml

@ -2,7 +2,7 @@ module.exports = {
'timelines': [ 'timelines': [
{ {
'name': 'Centurion', 'name': 'Centurion',
'songFile': 'songs/centurion.m4a', 'songFile': 'songs/centurion.mp3',
'feed': [ 'feed': [
{ {

@ -3,11 +3,32 @@ services:
backend: backend:
build: build:
context: ./backend context: ./backend
restart: unless-stopped
networks:
- centurion
frontend: frontend:
build: build:
context: ./frontend context: ./frontend
environment: environment:
NODE_ENV: production NODE_ENV: production
ports: expose:
- 8800:80 - 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

Loading…
Cancel
Save