File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
- version : ' 2 .0'
1
+ version : ' 3 .0'
2
2
services :
3
3
web :
4
- image : kaitsh /gitweb
4
+ image : local /gitweb
5
5
ports :
6
- - " 30080:80"
7
- - " 30022:22"
6
+ - " 30080:80"
7
+ - " 30022:22"
8
8
volumes :
9
- - ./env:/.env
10
- - repos:/git
9
+ - ./env:/.env
10
+ - repos:/git
11
+ extra_hosts :
12
+ - " host.docker.internal:host-gateway"
11
13
12
14
volumes :
13
15
repos : {}
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ BASIC_AUTH='htpassd config for nginx'
9
9
# Backup location/origin of the repos
10
10
# New repos must also be specified here. The service will backup them every 30 seconds
11
11
REPOS=""
12
- REPOS="${REPOS} user@backup_server :repo1.git"
13
- REPOS="${REPOS} user@backup_server :repo2.git"
12
+ REPOS="${REPOS} user@host.docker.internal :repo1.git"
13
+ REPOS="${REPOS} user@host.docker.internal :repo2.git"
14
14
You can’t perform that action at this time.
0 commit comments