Match uid/gid for container

This commit is contained in:
Luke Murphy 2020-04-10 08:25:01 +02:00
parent 74e96ad179
commit 44a26a071f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 4 additions and 2 deletions

View File

@ -46,8 +46,8 @@
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: dokku
group: dokku
owner: "{{ docker_user_uid }}"
group: "{{ docker_user_gid }}"
with_items:
- src: alertad.conf
dest: /var/lib/alerta/alertad.conf

View File

@ -3,6 +3,8 @@ db_loc: "dokku-mongodb-alerta:27017"
db_name: "alerta"
db_type: "mongodb"
db_user: "alerta"
docker_user_gid: 0
docker_user_uid: 1001
domain: "alerta.autonomic.zone"
http_port: "8080"
keycloak_realm: "autonomic"