Insert admin vars

master
dark 3 years ago
parent bc5ecd1de6
commit b8466fe19d

@ -65,8 +65,8 @@ services:
{{ kimai.main.service_name }}: # This is the latest FPM image of kimai {{ kimai.main.service_name }}: # This is the latest FPM image of kimai
image: kimai/kimai2:fpm image: kimai/kimai2:fpm
environment: environment:
- ADMINMAIL=admin@kimai.local - ADMINMAIL={{ kimai.main.users.superadmin.mail }}
- ADMINPASS=changemeplease - ADMINPASS={{ kimai.main.users.superadmin.password }}
- DATABASE_URL=mysql://{{ kimai.services.mysql.user }}:{{ kimai.services.mysql.password }}@{{ kimai.services.mysql.service_name }}/{{ kimai.services.mysql.db }} - DATABASE_URL=mysql://{{ kimai.services.mysql.user }}:{{ kimai.services.mysql.password }}@{{ kimai.services.mysql.service_name }}/{{ kimai.services.mysql.db }}
- TRUSTED_HOSTS={{ kimai.services.nginx.service_name }},localhost,127.0.0.1,{{ kimai.main.trusted_hosts}} - TRUSTED_HOSTS={{ kimai.services.nginx.service_name }},localhost,127.0.0.1,{{ kimai.main.trusted_hosts}}
volumes: volumes:

Loading…
Cancel
Save