speeding up seafile start time and enabling ssh passthrough

This commit is contained in:
spinach 2025-03-01 07:59:10 -05:00
parent 3daa3fda6a
commit baa6660731
2 changed files with 6 additions and 6 deletions

View File

@ -16,9 +16,9 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
# allows ssh pushing via locally stored keys # allows ssh pushing via locally stored keys
- /home/git/.ssh:/data/git/.ssh - /home/git/.ssh:/data/git/.ssh
# ports: # need to expose 2222 over local host for ssh agent forwarding
# - "127.0.0.1:2222:22" ports:
# - "3000:3000" - "127.0.0.1:2222:22"
depends_on: depends_on:
- postgres-gitea - postgres-gitea

View File

@ -16,9 +16,9 @@ services:
"--mariadbupgrade", "--mariadbupgrade",
"--innodb_initialized", "--innodb_initialized",
] ]
interval: 20s interval: 5s
start_period: 30s start_period: 5s
timeout: 5s timeout: 10s
retries: 10 retries: 10
memcached: memcached: