34 lines
942 B
Plaintext
34 lines
942 B
Plaintext
|
---
|
||
|
- hosts: localhost
|
||
|
vars:
|
||
|
password: rolaids
|
||
|
tasks:
|
||
|
- name: Create Collabora Config
|
||
|
docker_volume:
|
||
|
name: collabora_config
|
||
|
|
||
|
- name: Create network interface
|
||
|
command: /usr/bin/ip addr add 192.168.1.63/24 dev enp2s0
|
||
|
ignore_errors: True
|
||
|
|
||
|
- name: Start collabora
|
||
|
docker_container:
|
||
|
name: office
|
||
|
hostname: office
|
||
|
recreate: yes
|
||
|
image: collabora/code:21.11.4.2.1
|
||
|
ports:
|
||
|
- "192.168.1.63:9980:9980"
|
||
|
volumes:
|
||
|
- collabora_config:/etc/coolwsd
|
||
|
env:
|
||
|
DONT_GEN_SSL_CERT=yes
|
||
|
extra_params="--o:ssl.enable=false --o:ssl.termination=true --o:hexify_embedded_urls=true"
|
||
|
server_name=col.murkfall.net
|
||
|
username=admin
|
||
|
password={{ password }}
|
||
|
memory: 4G
|
||
|
restart_policy: unless-stopped
|
||
|
privileged: true
|
||
|
container_default_behavior: compatibility
|