mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
32 lines
1008 B
Django/Jinja
32 lines
1008 B
Django/Jinja
services:
|
|
application:
|
|
image: ghcr.io/bluesky-social/pds:0.4
|
|
restart: {{docker_restart_policy}}
|
|
ports:
|
|
- {{http_port}}:3000
|
|
volumes:
|
|
- data:/pds
|
|
env_file:
|
|
- /env
|
|
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"
|
|
ports:
|
|
- "127.0.0.1:{{http_port}}:3000"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000"]
|
|
interval: 1m
|
|
timeout: 10s
|
|
retries: 3
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
|
|
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
|
data:
|
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %} |