added baikal to stack
This commit is contained in:
parent
cd15f6a9c4
commit
d2030c4b8d
2
dns.yml
2
dns.yml
@ -27,6 +27,8 @@
|
||||
ip: "152.53.36.98"
|
||||
- name: "code"
|
||||
ip: "152.53.36.98"
|
||||
- name: cal
|
||||
ip: "152.53.36.98"
|
||||
- name: nerder.land
|
||||
dns_records:
|
||||
- name: "forms"
|
||||
|
@ -10,6 +10,12 @@ pin.thesatelliteoflove.com {
|
||||
reverse_proxy pinry-pinry-1:80
|
||||
}
|
||||
|
||||
cal.thesatelliteoflove.com {
|
||||
redir /.well-known/caldav /dav.php 302
|
||||
redir /.well-known/carddav /dav.php 302
|
||||
reverse_proxy baikal-baikal-1:80
|
||||
}
|
||||
|
||||
books.thesatelliteoflove.com {
|
||||
reverse_proxy authentik-server-1:9000
|
||||
}
|
||||
|
19
roles/docker/tasks/baikal.yml
Normal file
19
roles/docker/tasks/baikal.yml
Normal file
@ -0,0 +1,19 @@
|
||||
- name: make baikal directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item}}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/baikal
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
src: baikal-compose.yml.j2
|
||||
dest: /opt/stacks/baikal/compose.yml
|
||||
owner: root
|
||||
mode: 644
|
||||
|
||||
- name: deploy baikal stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/baikal
|
||||
files:
|
||||
- compose.yml
|
@ -129,3 +129,7 @@
|
||||
- name: Install codeserver
|
||||
import_tasks: codeserver.yml
|
||||
tags: codeserver
|
||||
|
||||
- name: Install baikal
|
||||
import_tasks: baikal.yml
|
||||
tags: baikal
|
16
roles/docker/templates/baikal-compose.yml.j2
Normal file
16
roles/docker/templates/baikal-compose.yml.j2
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
baikal:
|
||||
image: ckulka/baikal:nginx
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- config:/var/www/baikal/config
|
||||
- data:/var/www/baikal/Specific
|
||||
|
||||
volumes:
|
||||
config:
|
||||
data:
|
||||
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: lava
|
Loading…
Reference in New Issue
Block a user