-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yaml
More file actions
16 lines (16 loc) · 875 Bytes
/
compose.yaml
File metadata and controls
16 lines (16 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
services:
GitPi:
image: leodev12345/gitpi:latest
container_name: gitpi
user: uid:gid # Change to your user uid and group gid
ports:
- 5000:5000 # Change to the port you want to use for the web ui
environment:
PASSWORD: "yourpassword" # Change to the password you want to use for the web ui
STORAGE_PATH: "/path/to/repos/" # Change to the path to the dir where your repos are located (on the host)
SERVER_USER: "youruser" # Change to the linux username of the user you want to use to access the repos over ssh
HOST_IP: "example.lan" # Change to the IP adress/domain of your host server
volumes:
- /path/to/database:/app/database # Change to the location where you want to store the app databse
- /path/to/repos:/app/repos # Change to the location where you want to store your repos
restart: always