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

35 lines
793 B
YAML

---
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
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"