1
0
Fork 0

dokku: add

This commit is contained in:
Lukáš Kucharczyk 2023-01-25 09:42:41 +01:00
parent 1f9c907c2c
commit 7af55726ee
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 21 additions and 1 deletions

8
.env
View File

@ -40,4 +40,10 @@ UPTIME_KUMA_INTERNAL_PORT=3001
LOGSEQ_INTERNAL_PORT=80 LOGSEQ_INTERNAL_PORT=80
LOGSEQ_EXTERNAL_PORT=3005 LOGSEQ_EXTERNAL_PORT=3005
DENDRON_NOTES_EXTERNAL_PORT=2020 DENDRON_NOTES_EXTERNAL_PORT=2020
DENDRON_NOTES_INTERNAL_PORT=2020 DENDRON_NOTES_INTERNAL_PORT=2020
DOKKU_EXTERNAL_PORT_1=3022
DOKKU_INTERNAL_PORT_1=22
DOKKU_EXTERNAL_PORT_2=8081
DOKKU_INTERNAL_PORT_2=80
DOKKU_EXTERNAL_PORT_3=8443
DOKKU_INTERNAL_PORT_3=443

View File

@ -47,5 +47,19 @@ services:
- "timetracker-static:/home/timetracker/app/static" - "timetracker-static:/home/timetracker/app/static"
restart: unless-stopped restart: unless-stopped
dokku:
image: dokku/dokku:0.29.4
container_name: dokku
environment:
- "DOKKU_HOSTNAME=192.168.0.106"
- "DOKKU_HOST_ROOT=/var/lib/dokku/home/dokku"
volumes:
- "/var/lib/dokku:/docker/dokku"
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "${DOKKU_EXTERNAL_PORT_1}:${DOKKU_INTERNAL_PORT_1}"
- "${DOKKU_EXTERNAL_PORT_2}:${DOKKU_INTERNAL_PORT_2}"
- "${DOKKU_EXTERNAL_PORT_3}:${DOKKU_INTERNAL_PORT_3}"
volumes: volumes:
timetracker-static: timetracker-static: