speeding up seafile start time and enabling ssh passthrough
This commit is contained in:
parent
3daa3fda6a
commit
baa6660731
@ -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
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user