forked from jamovi/jamovi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (46 loc) · 1.62 KB
/
docker-compose.yaml
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
51
52
53
version: '3'
services:
jamovi-deps:
image: jamovi/jamovi-deps:2.3
build:
context: .
dockerfile: docker/deps-Dockerfile
profiles:
- donotstart
jamovi:
container_name: jamovi
build:
context: .
dockerfile: docker/jamovi-Dockerfile
image: jamovi/jamovi
ports:
- '41337:41337'
- '41338:41338'
- '41339:41339'
command: ["/usr/bin/python3 -m jamovi.server 41337 --if=*"]
stdin_open: true
environment:
# block Rj - don't enable unless you understand the risks!
JAMOVI_ALLOW_ARBITRARY_CODE: 'false'
# for security, jamovi runs across 3 origins
#
# # separate by port
JAMOVI_HOST_A: '127.0.0.1:41337'
JAMOVI_HOST_B: '127.0.0.1:41338'
JAMOVI_HOST_C: '127.0.0.1:41339'
# separate by host (RECOMMENDED)
# JAMOVI_HOST_A: 'jamovi.127.0.0.1.nip.io:41337'
# JAMOVI_HOST_B: 'a.jamovi.127.0.0.1.nip.io:41337'
# JAMOVI_HOST_C: 'r.jamovi.127.0.0.1.nip.io:41337'
# separate by path (NOT RECOMMENDED! REDUCES SECURITY!)
# JAMOVI_HOST_A: 'jamovi.127.0.0.1.nip.io:41337'
# JAMOVI_HOST_B: 'jamovi.127.0.0.1.nip.io:41337/analyses'
# JAMOVI_HOST_C: 'jamovi.127.0.0.1.nip.io:41337/results'
# prevent unauthorized access
# JAMOVI_ACCESS_KEY: 'yourpasswordhere'
# then access jamovi with ?access_key=yourpasswordhere added to the url
# i.e. 127.0.0.1:41337/?access_key=yourpasswordhere
# or alternatively, remove the password requirement:
# JAMOVI_ACCESS_KEY: ''
volumes:
- $HOME/Documents:/root/Documents