diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-09-13 16:40:54 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-09-13 16:40:54 -0400 |
| commit | 5debb8c4b7afeb531b1584595343390e4f07b113 (patch) | |
| tree | 962a4046ad9436c0c5aa838ba075ea472fb1090e /docker-compose.yml | |
| parent | 578b04e3f380cfd674cd545f6a4d673b4e046bf5 (diff) | |
| download | alpine-cgit-5debb8c4b7afeb531b1584595343390e4f07b113.tar.gz alpine-cgit-5debb8c4b7afeb531b1584595343390e4f07b113.tar.xz | |
Do not run setup multiple times in a container's life. Also update scripts
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 3a26619..5ea6959 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,9 @@ services: volumes: - ./homedir:/var/git - ./hostkeys:/var/hostkeys + environment: + - CGIT_UID=1000 + - CGIT_GID=1000 ports: - '127.0.0.1:8080:8080' - '0.0.0.0:8022:8022' |
