2025-01-09 09:00:09 +01:00
|
|
|
---
|
|
|
|
- name: "include docker/compose/database.yml"
|
|
|
|
include_tasks: docker/compose/database.yml
|
|
|
|
|
2025-01-17 17:26:52 +01:00
|
|
|
- name: "Include tasks for API domain"
|
2025-01-09 09:00:09 +01:00
|
|
|
include_tasks: nginx-docker-proxy-domain.yml
|
2025-01-17 17:26:52 +01:00
|
|
|
vars:
|
|
|
|
domain: "{{ domain_api }}"
|
|
|
|
http_port: "{{ http_port_api }}"
|
2025-01-09 09:00:09 +01:00
|
|
|
|
2025-01-17 17:26:52 +01:00
|
|
|
- name: "Include tasks for Web domain"
|
|
|
|
include_tasks: nginx-docker-proxy-domain.yml
|
|
|
|
vars:
|
|
|
|
domain: "{{ domain_web }}"
|
|
|
|
http_port: "{{ http_port_web }}"
|
2025-01-15 14:42:32 +01:00
|
|
|
|
2025-01-17 17:26:52 +01:00
|
|
|
- name: clone social app repository
|
|
|
|
git:
|
|
|
|
repo: "https://github.com/bluesky-social/social-app.git"
|
|
|
|
dest: "{{social_app_path}}"
|
|
|
|
version: "main" # Optional: spezifischer Branch oder Tag
|
|
|
|
update: yes # Aktualisiert das Repo, falls es schon existiert
|
|
|
|
notify: docker compose project build and setup
|
|
|
|
|
|
|
|
- name: add docker-compose.yml
|
|
|
|
template:
|
|
|
|
src: docker-compose.yml.j2
|
|
|
|
dest: "{{docker_compose_instance_directory}}docker-compose.yml"
|
|
|
|
notify: docker compose project build and setup
|