-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlucyfer-compose.yaml
61 lines (57 loc) · 2.18 KB
/
lucyfer-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
54
55
56
57
58
59
60
# License: https://raw.githubusercontent.com/pr3d4t0r/lucyfer/master/LICENSE.txt
# IMPORTANT:
# By convention, Lucyfer service names must always be a pastiche of the
# container name, underscore, and the word service:
#
# Container Service
# --------- -------
# lucyfer lucyfer_service
# kallisto kaliisto_service
#
# lucy resolves the service name based on the container/component that the user
# wishes to run when the $container command line argument is used.
services:
lucyfer_service:
container_name: 'lucyfer'
deploy:
resources:
limits:
cpus: '4'
memory: '4G'
reservations:
cpus: '4'
memory: '4G'
environment:
GRANT_SUDO : 'yes'
JUPYTER_LAB_ENABLE : 'yes'
image: '${LUCYFER_IMAGE}'
mem_reservation: 4G
ports:
# *****************************************************************
# Important: the IP address binding depends on the host's
# configuration. Binding to specific IP addresses on macOS doesn't
# work, but it works fine under Linux. This needs to be resolved
# throuth a target configuration manager later. The lo interface
# works across all operating systems but may open vulnerabililities
# or affect the firewall configuration under Linux.
# *****************************************************************
# - 127.0.0.1:8805:8888
# For LAN availability:
- '${LUCYFER_PORT}:8888'
- '8889:8889'
privileged: true
user: 'root:${JUPYTER_LAB_GID}'
volumes:
- '${LUCYFER_WORKSPACE}:/home/jovyan'
kallisto_service:
container_name: 'kallisto'
environment:
BLAZEGRAPH_UID: '${BLAZEGRAPH_UID}'
BLAZEGRAPH_GID: '${BLAZEGRAPH_GID}'
image: '${KALLISTO_IMAGE}'
ports:
# - '127.0.0.1:8809:9999'
- '0.0.0.0:${KALLISTO_PORT}:9999'
privileged: true
volumes:
- '${KALLISTO_DATA}:/var/blazegraph/data'