Update
This commit is contained in:
parent
346d05989e
commit
53d5b26add
2 changed files with 31 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: install ansible semaphore
|
||||
- name: install code server
|
||||
hosts: all
|
||||
become: true
|
||||
|
||||
|
@ -23,6 +23,10 @@
|
|||
- name: remove other files
|
||||
include_tasks: yaml_sub/install_docker.yaml
|
||||
|
||||
- name: Create network codeNet
|
||||
community.docker.docker_network:
|
||||
name: codeNet
|
||||
|
||||
- name: Create volume code data
|
||||
community.docker.docker_volume:
|
||||
name: code_data
|
||||
|
@ -33,19 +37,41 @@
|
|||
name: code-server
|
||||
image: lscr.io/linuxserver/code-server:latest
|
||||
state: started
|
||||
recreate: yes
|
||||
recreate: no
|
||||
restart_policy: always
|
||||
|
||||
volumes:
|
||||
- "code_data:/config"
|
||||
published_ports:
|
||||
- "80:8443/tcp"
|
||||
|
||||
env:
|
||||
PASSWORD: "{{ passwd }}"
|
||||
TZ: "Europe/Berlin"
|
||||
PUID: "0"
|
||||
PGID: "0"
|
||||
DEFAULT_WORKSPACE: "/config/workspace"
|
||||
PROXY_DOMAIN: "code.neuro.uni-bremen.de"
|
||||
|
||||
networks:
|
||||
- name: codeNet
|
||||
comparisons:
|
||||
networks: strict
|
||||
|
||||
- name: Create hitch container
|
||||
community.docker.docker_container:
|
||||
name: hitch
|
||||
image: hitch
|
||||
state: started
|
||||
recreate: no
|
||||
restart_policy: always
|
||||
|
||||
published_ports:
|
||||
- "443:443/tcp"
|
||||
|
||||
env:
|
||||
backend: "code-server:8443"
|
||||
|
||||
networks:
|
||||
- name: codeNet
|
||||
- name: bridge
|
||||
comparisons:
|
||||
networks: strict
|
||||
|
|
1
update_jobs/fix_cuda.yaml
Normal file
1
update_jobs/fix_cuda.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
|
Loading…
Reference in a new issue