Skip to content
Snippets Groups Projects

Feature/chat

2 files
+ 33
0
Compare changes
  • Side-by-side
  • Inline

Files

+ 32
0
@@ -163,6 +163,7 @@ services:
- revproxynet
<% end %>
course-website:
container_name: <%= @container_prefix %>course_website
environment:
@@ -208,6 +209,37 @@ services:
- revproxynet
<% if enabled_features[:chat] %>
chat:
container_name: <%= @container_prefix %>chat
environment:
TIMEZONE_CITY: '<%= timezone_city %>'
RAILS_ENV: 'production'
TZ: '<%= timezone %>'
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"
build:
context: <%= @src_root %>/dtu-enote-website/chat-server
args:
DEPENDENCY_HASH: "<%= dependency_hash[:courses] || 1 %>"
env_file: external.env
external_links:
- course-website:course-website
volumes:
- <%= @data_root %>/config:/data/config
- <%= @gen_root %>/deployment-info.yaml:/data/env_config/deployment-info.yaml
- <%= @data_root %>/website-db/:/data/website-db/
expose:
- "3002"
ports:
- "3003:3003"
networks:
- revproxynet
<% end %>
enote-proxy:
container_name: enote-proxy
Loading