mirror of
https://git.local.zernis.ch/simon/homeserver.zernis.ch.git
synced 2025-12-15 20:59:40 +01:00
added service chatpad
This commit is contained in:
9
main.yml
9
main.yml
@@ -69,4 +69,11 @@
|
|||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- gitea
|
- gitea
|
||||||
tags: gitea
|
tags: gitea
|
||||||
|
|
||||||
|
- name: Configure Chatpad
|
||||||
|
hosts: chatpad_hosts
|
||||||
|
become: true
|
||||||
|
roles:
|
||||||
|
- chatpad
|
||||||
|
tags: chatpad
|
||||||
16
roles/chatpad/tasks/main.yml
Normal file
16
roles/chatpad/tasks/main.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- name: Create docker network 'proxy'
|
||||||
|
community.docker.docker_network:
|
||||||
|
name: proxy
|
||||||
|
|
||||||
|
- name: Create Chatpad Container
|
||||||
|
community.docker.docker_container:
|
||||||
|
name: chatpad
|
||||||
|
image: 'ghcr.io/deiucanta/chatpad:latest'
|
||||||
|
pull: yes
|
||||||
|
state: started
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
ports:
|
||||||
|
- '11005:80'
|
||||||
|
networks:
|
||||||
|
- name: proxy
|
||||||
Reference in New Issue
Block a user