Commit 07469f65 authored by nanahira's avatar nanahira

attachments

parent 345b9a00
...@@ -120,3 +120,4 @@ __pycache__ ...@@ -120,3 +120,4 @@ __pycache__
Dockerfile Dockerfile
.gitlab-ci.yml .gitlab-ci.yml
/config.yaml /config.yaml
/ansible/attachments
...@@ -113,3 +113,4 @@ __pycache__ ...@@ -113,3 +113,4 @@ __pycache__
/ansible/inventory.yaml /ansible/inventory.yaml
/data /data
/ansible/attachments
...@@ -48,6 +48,17 @@ ...@@ -48,6 +48,17 @@
archive: no archive: no
perms: yes perms: yes
notify: restart_nginx notify: restart_nginx
- name: certs
synchronize:
src: './attachments/'
dest: '{{ jupyter_root }}/attachments'
delete: yes
copy_links: yes
recursive: yes
verify_host: no
checksum: yes
archive: no
perms: yes
- name: instance configs - name: instance configs
become: true become: true
copy: copy:
......
...@@ -21,4 +21,5 @@ services: ...@@ -21,4 +21,5 @@ services:
volumes: volumes:
- ./instances/config/{{ instance.name }}.json:/home/jovyan/.jupyter/jupyter_notebook_config.json:ro - ./instances/config/{{ instance.name }}.json:/home/jovyan/.jupyter/jupyter_notebook_config.json:ro
- ./instances/data/{{ instance.name }}:/home/jovyan/work - ./instances/data/{{ instance.name }}:/home/jovyan/work
- ./attachments:/home/jovyan/attachments:ro
{% endfor %} {% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment