-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.in
44 lines (33 loc) · 1.07 KB
/
docker-compose.yml.in
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
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.7'
services:
web:
env_file:
# Add the following to your .env-file
# SESSION_SECRET= (optional)
# REDIS_URI=redis://:[auth_key]@[host]:[port]/?ssl=true (optional if you are running a local REDIS)
- .env
# Existing image in repository
# image: kthse/docker pull kthse/kth-nodejs-web:13.37
# Build from Dockerfile in current directory
build: .
environment:
# Cellus Deployment
SERVICE_TAGS : "app,kth,web,nodejs"
SERVICE_PUBLISH : "/node"
# Server settings
NODE_ENV: "development"
# External server address
SERVER_HOST_URL: "http://localhost:3000/"
# Local server settings
SERVER_PORT: 3000
SERVER_CERT_FILE: ""
SERVER_CERT_PASSPHRASE: ""
SESSION_SECURE_COOKIE: "false"
SESSION_USE_REDIS: "true"
LOGGING_LEVEL : "debug"
LOGGING_ACCESS_LOG : "true"
# API access
NODE_API_URI: "http://localhost:3001/api/node?required=true&defaultTimeout=10000"
# API access keys in secret env-file
ports:
- 3000:3000