Skip to content

Commit ec8659d

Browse files
committed
Use the AiiDAlab full-stack image.
1 parent 0668ed8 commit ec8659d

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

copier.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,19 @@ secret_token:
8686
8787
image_name:
8888
type: str
89-
default: aiidalab/aiidalab-docker-stack
89+
default: aiidalab/full-stack
9090
help: |
9191
The name of the image to use for the singleuser container.
9292
9393
image_tag:
9494
type: str
95-
default: 22.01.0
95+
default: latest
9696
help: |
9797
The tag of the image to use for the singleuser container.
9898
9999
aiidalab_default_apps:
100100
type: str
101-
default: quantum-espresso
101+
default:
102102
help: |
103103
The default apps to install.
104104

template/{{hostname}}/modules/aiidalab/values.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,13 @@ singleuser:
1515
name: "{{ image_name }}"
1616
tag: "{{ image_tag }}"
1717
pullPolicy: Always
18-
fsGid: 1000
19-
cmd: /sbin/my_my_init
20-
extraEnv:
21-
NB_USER: "aiida"
22-
NB_UID: "1000"
23-
NB_GID: "1000"
2418
AIIDALAB_FACTORY_RESET: "{{ aiidalab_factory_reset | default('')}}"
2519
{%- if aiidalab_default_apps %}
2620
AIIDALAB_DEFAULT_APPS: >-
2721
{{ aiidalab_default_apps.split() | join('\n') | indent(6) }}
2822
{%- endif %}
23+
cmd: start-singleuser.sh
2924
storage:
30-
homeMountPath: "/home/aiida"
3125
dynamic:
3226
storageClass: managed-premium
3327

@@ -37,7 +31,7 @@ singleuser:
3731
cpu:
3832
limit: 2.0
3933
guarantee: .5
40-
startTimeout: 600
34+
startTimeout: 120
4135

4236
hub:
4337
config:
@@ -77,14 +71,6 @@ hub:
7771

7872
extraConfig:
7973
myConfig: |
80-
81-
c.KubeSpawner.http_timeout = 600
82-
# phusion init system needs to run as root
83-
c.KubeSpawner.uid = 0
84-
# Setting the gid was needed to fix
85-
# https://github.com/aiidalab/aiidalab-docker-stack/issues/20
86-
c.KubeSpawner.gid = 1000
87-
8874
# insert template path for custom login template
8975
c.JupyterHub.template_paths.insert(0, "/etc/jupyterhub/templates")
9076

0 commit comments

Comments
 (0)