add container names and add smtp env variables
This commit is contained in:
@@ -9,5 +9,5 @@ services:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: ''
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
net.unraid.docker.webui: 'https://kimai.homecube.org'
|
||||
net.unraid.docker.shell: 'bash'
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
services:
|
||||
sqldb:
|
||||
image: mysql:8.3
|
||||
container_name: kimai-db
|
||||
volumes:
|
||||
- /mnt/user/appdata/kimai/db:/var/lib/mysql
|
||||
environment:
|
||||
@@ -20,6 +21,7 @@ services:
|
||||
|
||||
kimai:
|
||||
image: kimai/kimai2:apache
|
||||
container_name: kimai
|
||||
volumes:
|
||||
- /mnt/user/appdata/kimai/data:/opt/kimai/var/data
|
||||
- /mnt/user/appdata/kimai/plugins:/opt/kimai/var/plugins
|
||||
@@ -29,5 +31,9 @@ services:
|
||||
- ADMINMAIL=${ADMIN_EMAIL}
|
||||
- ADMINPASS=${ADMIN_PASSWORD}
|
||||
- "DATABASE_URL=mysql://${DATABASE_USER}:${DATABASE_PASSWORD}@sqldb/${DATABASE_NAME}?charset=utf8mb4&serverVersion=8.3.0"
|
||||
- MAILER_URL=${MAILER_URL}
|
||||
- MAILER_FROM=${MAILER_FROM}
|
||||
labels:
|
||||
net.unraid.docker.webui: https://kimai.homecube.org
|
||||
net.unraid.docker.shell: bash
|
||||
folder.view2: "Services"
|
||||
|
||||
Reference in New Issue
Block a user