feat(edge_vps): add pangolin/gerbil/traefik stack with versioned images

This commit is contained in:
Tuan-Dat Tran
2026-06-04 01:44:55 +02:00
parent a905b25190
commit a331265bde
5 changed files with 66 additions and 28 deletions

View File

@@ -9,16 +9,11 @@
- name: Deploy Pangolin docker-compose
ansible.builtin.template:
src: pangolin/docker-compose.yml.j2
dest: "{{ edge_vps_pangolin_config_dir }}/docker-compose.yml"
dest: "{{ edge_vps_pangolin_compose_dir }}/docker-compose.yml"
mode: "0644"
- name: Create letsencrypt directory for Pangolin
ansible.builtin.file:
path: "{{ edge_vps_pangolin_config_dir }}/letsencrypt"
state: directory
mode: "0755"
- name: Start Pangolin
community.docker.docker_compose_v2:
project_src: "{{ edge_vps_pangolin_config_dir }}"
state: present
ansible.builtin.command:
cmd: podman compose up -d
chdir: "{{ edge_vps_pangolin_compose_dir }}"
changed_when: false