Commit 3b344455 authored by nanahira's avatar nanahira

formats

parent a7b580fe
......@@ -83,6 +83,7 @@
{{instance.name}}:{{instance.password}}:1000:1000
{% endfor %}
dest: '{{jupyter_root}}/sftp_users.conf'
notify: restart_sftp
- name: docker-compose up -d
docker_compose:
project_src: '{{ jupyter_root }}'
......@@ -99,3 +100,9 @@
services:
- nginx
restarted: true
- name: restart_sftp
docker_compose:
project_src: '{{ jupyter_root }}'
services:
- sftp
restarted: true
jupyter:
vars:
ansible_ssh_user: root
ansible_python_interpreter: python3
nginx_image: git-registry.mycard.moe/nanahira/docker-nginx-plus
jupyter_image: git-registry.mycard.moe/nanahira/docker-gdut-notebook:latest
data_file: ../output/gdut.yaml
certs_path: /path/to/certs/yuzurisa.com
jupyter_root: ~/jupyter
hosts:
jupyter.momobako.com:
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