add all services that have no secret stuff
This commit is contained in:
40
roles/matrix/files/docker-compose.yaml
Normal file
40
roles/matrix/files/docker-compose.yaml
Normal file
@ -0,0 +1,40 @@
|
||||
---
|
||||
version: '3.2'
|
||||
services:
|
||||
cadvisor:
|
||||
image: gcr.io/cadvisor/cadvisor
|
||||
volumes:
|
||||
- /:/rootfs:ro
|
||||
- /var/run:/var/run:rw
|
||||
- /sys:/sys:ro
|
||||
- /var/lib/docker/:/var/lib/docker:ro
|
||||
ports:
|
||||
- 4194:8080
|
||||
restart: always
|
||||
networks:
|
||||
- matrix
|
||||
|
||||
element:
|
||||
image: vectorim/element-web:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:8181:80"
|
||||
volumes:
|
||||
- ./element-config.json:/app/config.json
|
||||
networks:
|
||||
- matrix
|
||||
|
||||
synapse:
|
||||
image: matrixdotorg/synapse:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- matrix
|
||||
volumes:
|
||||
- ./synapse:/data
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
|
||||
networks:
|
||||
matrix:
|
||||
external: false
|
||||
...
|
9
roles/matrix/tasks/main.yaml
Normal file
9
roles/matrix/tasks/main.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Copy docker-compose configuration
|
||||
ansible.builtin.copy:
|
||||
src: docker-compose.yaml
|
||||
dest: /home/service-user/docker-compose.yaml
|
||||
owner: service-user
|
||||
group: service-user
|
||||
mode: '0644'
|
||||
...
|
Reference in New Issue
Block a user