Browse Source

Update server address. Remove published ports (nginx proxy does it).

service/mailu
parent
commit
69d53c26e9
  1. 15
      datacoop_hosts
  2. 3
      roles/docker/defaults/main.yml
  3. 2
      roles/docker/tasks/services/fider.yml
  4. 1
      roles/docker/tasks/services/gitea.yml
  5. 2
      roles/docker/tasks/services/nextcloud.yml
  6. 2
      roles/docker/tasks/services/passit.yml
  7. 2
      roles/docker/tasks/services/thelounge.yml

15
datacoop_hosts

@ -1,16 +1,3 @@
######################################
### All hosts
10.1.1.198 ansible_python_interpreter=/usr/bin/python3
10.1.1.199 ansible_python_interpreter=/usr/bin/python3
######################################
### Application servers
[servers]
10.1.1.198
10.1.1.199
[datacoop1]
10.1.1.198
[datacoop2]
10.1.1.199
85.235.225.231 ansible_port=19022 ansible_python_interpreter=/usr/bin/python3

3
roles/docker/defaults/main.yml

@ -7,6 +7,9 @@ thelounge:
nextcloud:
domain: "cloud.{{ base_domain }}"
gitea:
domain: "git.{{ base_domain }}"
passit:
domain: "passit.{{ base_domain }}"

2
roles/docker/tasks/services/fider.yml

@ -27,8 +27,6 @@
docker_container:
image: getfider/fider:stable
restart_policy: always
published_ports:
- "9999:3000"
networks:
- name: fider
- name: external_services

1
roles/docker/tasks/services/gitea.yml

@ -38,7 +38,6 @@
volumes:
- gitea:/data
published_ports:
- "3000:3000"
- "222:22"
env:
VIRTUAL_HOST: "{{ gitea.domain }}"

2
roles/docker/tasks/services/nextcloud.yml

@ -38,8 +38,6 @@
- name: external_services
volumes:
- nextcloud_app:/var/www/html
published_ports:
- "80"
env:
VIRTUAL_HOST: "{{ nextcloud.domain }}"
LETSENCRYPT_HOST: "{{ nextcloud.domain }}"

2
roles/docker/tasks/services/passit.yml

@ -28,8 +28,6 @@
image: passit/passit:stable
command: bin/start.sh
restart_policy: always
published_ports:
- "8000:8080"
networks:
- name: passit
- name: external_services

2
roles/docker/tasks/services/thelounge.yml

@ -14,8 +14,6 @@
name: thelounge
image: thelounge/lounge:latest
restart_policy: always
published_ports:
- "9000:9000"
volumes:
- thelounge:/home/lounge/data
networks:

Loading…
Cancel
Save