finish move of content to new elementweb role
This commit is contained in:
parent
d3ca975bdb
commit
4dffeb3bf6
5 changed files with 4 additions and 2 deletions
19
ansible/roles/elementweb/files/docker-compose.yaml
Normal file
19
ansible/roles/elementweb/files/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
version: '3'
|
||||
services:
|
||||
elementweb:
|
||||
image: vectorim/element-web:${ELEMENT_VERSION}
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
ports:
|
||||
- "8008:80/tcp"
|
||||
|
||||
nginx:
|
||||
image: nginx:${NGINX_VERSION}
|
||||
ports:
|
||||
- "80:80/tcp"
|
||||
- "443:443/tcp"
|
||||
volumes:
|
||||
- ./nginx:/etc/nginx/conf.d
|
||||
- /ssl:/ssl
|
||||
- /www:/www
|
||||
1
ansible/roles/elementweb/files/www/index.html
Normal file
1
ansible/roles/elementweb/files/www/index.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
Test for Element
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
- name: Copy docker-compose contents
|
||||
ansible.builtin.copy:
|
||||
src: files/basedir/{{ item }}/
|
||||
src: files/basedir/
|
||||
dest: /home/{{ ansible_user }}/docker_compose/{{ docker_compose }}
|
||||
owner: "{{ ansible_user }}"
|
||||
mode: '0644'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue