added baikal to stack

This commit is contained in:
Phil 2024-12-10 07:05:55 -07:00
parent cd15f6a9c4
commit d2030c4b8d
5 changed files with 48 additions and 1 deletions

View File

@ -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"

View File

@ -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
}

View 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

View File

@ -129,3 +129,7 @@
- name: Install codeserver
import_tasks: codeserver.yml
tags: codeserver
- name: Install baikal
import_tasks: baikal.yml
tags: baikal

View 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