healtcheck und depends
This commit is contained in:
parent
d5ec2113e1
commit
c47f373bc4
2 changed files with 13 additions and 1 deletions
|
@ -18,6 +18,8 @@ services:
|
|||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- "lldap:/data"
|
||||
depends_on:
|
||||
- lldap-db
|
||||
environment:
|
||||
UID: 1000
|
||||
GID: 1000
|
||||
|
@ -55,6 +57,16 @@ services:
|
|||
MYSQL_INITDB_SKIP_TZINFO: "1"
|
||||
networks:
|
||||
- intern
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 3
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"healthcheck.sh",
|
||||
"--connect",
|
||||
]
|
||||
timeout: 30s
|
||||
|
||||
######## Volumes ########
|
||||
volumes:
|
||||
|
|
|
@ -57,7 +57,7 @@ gitea_user: "gitea"
|
|||
gitea_home: "/var/lib/gitea"
|
||||
gitea_user_home: "{{ gitea_home }}"
|
||||
# config liegt in /etc/gitea/gitea.ini
|
||||
gitea_configuration_path: "/etc/gitea/etc/gitea"
|
||||
gitea_configuration_path: "/etc/gitea"
|
||||
gitea_app_name: "forgejo"
|
||||
gitea_fqdn: "git.mgrote.net"
|
||||
# ssh
|
||||
|
|
Loading…
Reference in a new issue