infrastructure/playbooks/roles/dokku/vars/main.yml

38 lines
839 B
YAML
Raw Normal View History

2024-10-29 05:07:04 +00:00
---
dokku_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
additional_domains:
- "*.paas.serguzim.me"
caddy_extra: import acmedns
docker_host: host.docker.internal
port: 3080
extra_svcs:
- domain: serguzim.me
www_domain: true
2024-10-31 21:05:04 +00:00
caddy_extra: |
import analytics
2024-10-29 05:07:04 +00:00
hsts: true
docker_host: host.docker.internal
port: 3080
dokku_env:
DOKKU_HOSTNAME: "{{ dokku_svc.domain }}"
DOKKU_HOST_ROOT: /var/lib/dokku/home/dokku
DOKKU_LIB_HOST_ROOT: /var/lib/dokku/var/lib/dokku
dokku_compose:
watchtower: false
network: false
image: dokku/dokku:0.35.8
volumes:
- "/var/lib/dokku:/mnt/dokku"
- "/var/run/docker.sock:/var/run/docker.sock"
file:
services:
app:
network_mode: bridge
ports:
- "3022:22"
- "3080:80"