Match uid/gid for container

This commit is contained in:
Luke Murphy
2020-04-10 08:25:01 +02:00
parent 74e96ad179
commit 44a26a071f
2 changed files with 4 additions and 2 deletions

View File

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

View File

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