-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathtest-docker-compose.yml
50 lines (43 loc) · 2.08 KB
/
test-docker-compose.yml
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
45
46
47
48
49
50
version: "3"
volumes:
terminusdb_storage:
services:
terminusdb-server:
image: terminusdb/terminusdb-server:dev
container_name: terminusdb-server
pull_policy: always
hostname: terminusdb-server
tty: true
ports:
- 6366:6366
environment:
- TERMINUSDB_SERVER_NAME=http://127.0.0.1
- TERMINUSDB_SERVER_PORT=6366
# There are multiple ways to configure TerminusDB security through
# environment variables. Several reasonable options are included below.
# Uncomment the option you decide on and comment out others.
# Don't forget to change the default password!
# Security Option 1 (default): Assumes TerminusDB is only accessible from
# the machine it's running on and all access to port 6363 is considered
# authorized.
- TERMINUSDB_HTTPS_ENABLED=false
- TERMINUSDB_AUTOLOGIN=true
# Security Option 2: TerminusDB is set up behind a TLS-terminating reverse
# proxy with admin authentication provided by password.
# - TERMINUSDB_HTTPS_ENABLED=false
# - TERMINUSDB_AUTOLOGIN=false
# - TERMINUSDB_PUBLIC_URL=https://example.com
# - TERMINUSDB_ADMIN_PASS=root # Change before exposing to the internet.
# Security Option 3: Terminate TLS in TerminusDB directly by providing ssl
# cert files manually, with admin authentication provided by password.
# See `volumes:` section to specify tls files to mount from your local system
# for TerminusDB to use to establish TLS sessions.
# - TERMINUSDB_HTTPS_ENABLED=true
# - TERMINUSDB_AUTOLOGIN=false
# - TERMINUSDB_PUBLIC_URL=https://example.com
# - TERMINUSDB_SSL_CERT=/etc/ssl/fullchain.pem # This is the path inside the container
# - TERMINUSDB_SSL_CERT_KEY=/etc/ssl/privkey.pem
# - TERMINUSDB_ADMIN_PASS=root # Change before exposing to the internet.
# Volumes mounted to the container.
# Syntax is `[SOURCE:]TARGET[:MODE]` See: https://docs.docker.com/compose/compose-file/#volumes
# SOURCE: host filesystem path or volume name. TARGET: container filesystem path