Deploy chat to mattermost in awful.club.
This commit is contained in:
parent
8ab3f7d452
commit
4d045744ff
@ -1,9 +1,9 @@
|
||||
- name: deploy mattermost
|
||||
hosts: testchat01
|
||||
hosts: mattermost-trial
|
||||
remote_user: "{{ remote_user }}"
|
||||
tasks:
|
||||
- debug: msg="Deploying mediaserver stack to local server"
|
||||
roles:
|
||||
# - { name: debian_base }
|
||||
- { name: tailscale }
|
||||
# - { name: debian_base }
|
||||
# - { name: tailscale }
|
||||
- { name: mattermost }
|
||||
|
@ -25,10 +25,10 @@ all:
|
||||
ansible_user: alice
|
||||
testchat:
|
||||
hosts:
|
||||
testchat01:
|
||||
ansible_host: 192.168.1.224
|
||||
mattermost-trial:
|
||||
ansible_host: 104.248.79.77
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
ansible_user: alice
|
||||
ansible_user: root
|
||||
services:
|
||||
hosts:
|
||||
lair:
|
||||
|
@ -28,7 +28,7 @@
|
||||
mode: 0700
|
||||
recurse: yes
|
||||
with_items:
|
||||
[ '/home/josiah/volumes/app/mattermost/config', '/home/josiah/volumes/app/mattermost/data', '/home/josiah/volumes/app/mattermost/logs', '/home/josiah/volumes/app/mattermost/plugins', '/home/josiah/volumes/app/mattermost/client/plugins', '/home/josiah/volumes/app/mattermost/bleve-indexes' ]
|
||||
[ '/home/josiah/mattermost/volumes/app/mattermost/config', '/home/josiah/mattermost/volumes/app/mattermost/data', '/home/josiah/mattermost/volumes/app/mattermost/logs', '/home/josiah/mattermost/volumes/app/mattermost/plugins', '/home/josiah/mattermost/volumes/app/mattermost/client/plugins', '/home/josiah/mattermost/volumes/app/mattermost/bleve-indexes' ]
|
||||
|
||||
- name: Deploy mattermost with compose
|
||||
docker_compose:
|
||||
@ -36,5 +36,5 @@
|
||||
project_name: mm
|
||||
files:
|
||||
- docker-compose.yml
|
||||
- docker-compose.without-nginx.yml
|
||||
#- docker-compose.nginx.yml
|
||||
# - docker-compose.without-nginx.yml
|
||||
- docker-compose.nginx.yml
|
@ -1,5 +1,5 @@
|
||||
# Domain of service
|
||||
DOMAIN=mattermost.home.jowj.net
|
||||
DOMAIN=mattermost.awful.club
|
||||
|
||||
# Container settings
|
||||
## Timezone inside the containers. The value needs to be in the form 'Europe/Berlin'.
|
||||
@ -22,7 +22,7 @@ POSTGRES_PASSWORD= {{ vault_mm_POSTGRES_PASSWORD }}
|
||||
POSTGRES_DB={{ vault_mm_POSTGRES_DB }}
|
||||
|
||||
# Nginx
|
||||
## The nginx container will use a configuration found at the NGINX_MATTERMOST_CONFIG. The config aims
|
||||
## The nginx container will use a configuration found at the NGINX_MATTERMOST_CONFIG. The config aims
|
||||
## to be secure and uses a catch-all server vhost which will work out-of-the-box. For additional settings
|
||||
## or changes ones can edit it or provide another config. Important note: inside the container, nginx sources
|
||||
## every config file inside */etc/nginx/conf.d* ending with a *.conf* file extension.
|
||||
|
@ -406,3 +406,15 @@ resource "digitalocean_record" "tfer--98495666" {
|
||||
value = "134.209.53.112"
|
||||
weight = "0"
|
||||
}
|
||||
|
||||
resource "digitalocean_record" mattermost-dns {
|
||||
domain = "awful.club"
|
||||
flags = "0"
|
||||
name = "mattermost"
|
||||
port = "0"
|
||||
priority = "0"
|
||||
ttl = "900"
|
||||
type = "A"
|
||||
value = "104.248.79.77"
|
||||
weight = "0"
|
||||
}
|
@ -232,15 +232,4 @@ resource "digitalocean_record" highsea-dns {
|
||||
|
||||
# this motherfucker is currently set manually.
|
||||
# TODO: Figure out how to do this programmatically
|
||||
# Especailly because getting the output of tailscale is difficult??
|
||||
resource "digitalocean_record" mattermost-dns {
|
||||
domain = "home.jowj.net"
|
||||
flags = "0"
|
||||
name = "mattermost"
|
||||
port = "0"
|
||||
priority = "0"
|
||||
ttl = "900"
|
||||
type = "A"
|
||||
value = "100.101.221.122"
|
||||
weight = "0"
|
||||
}
|
||||
# Especailly because getting the output of tailscale is difficult??
|
Loading…
Reference in New Issue
Block a user