From 9cd2424c0ee20ae7fc2455244b553181711cf3a7 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 10 Jan 2025 18:04:27 +0100 Subject: [PATCH] Continued bluesky optimation --- .../templates/docker-compose.yml.j2 | 18 ++++++++++++++++++ roles/docker-bluesky/vars/main.yml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/roles/docker-bluesky/templates/docker-compose.yml.j2 b/roles/docker-bluesky/templates/docker-compose.yml.j2 index 2e9749c3..9f1f690c 100644 --- a/roles/docker-bluesky/templates/docker-compose.yml.j2 +++ b/roles/docker-bluesky/templates/docker-compose.yml.j2 @@ -10,6 +10,24 @@ services: env_file: - /path/to/pds.env +version: "3.8" + +services: + pds: + image: bluesky-social/pds:latest + container_name: bluesky_pds + restart: always + ports: + - "80:80" + - "443:443" + environment: + # Geben Sie hier Ihre Domain und Konfigurationsdetails an + PDS_HOSTNAME: "your-domain.com" + PDS_ADMIN_EMAIL: "admin@your-domain.com" + PDS_DB__POSTGRES__URL: "postgres://pdsuser:pdspassword@postgres:5432/pds" + PDS_SERVICE_DID: "did:web:your-domain.com" + volumes: + - data:/data {% include 'templates/docker/services/' + database_type + '.yml.j2' %} application: diff --git a/roles/docker-bluesky/vars/main.yml b/roles/docker-bluesky/vars/main.yml index ea536dab..b3735407 100644 --- a/roles/docker-bluesky/vars/main.yml +++ b/roles/docker-bluesky/vars/main.yml @@ -1,3 +1,3 @@ docker_compose_project_name: "bluesky" database_password: "{{bluesky_database_password}}" -database_type: "mariadb" \ No newline at end of file +database_type: "postgres" \ No newline at end of file