GitTea_Compose.txt hinzugefügt
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
container_name: gitea-db
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_DB: gitea
|
||||
POSTGRES_USER: gitea
|
||||
POSTGRES_PASSWORD: tu7Zt42Ng98tWJ
|
||||
volumes:
|
||||
- /home/pi/mnt/docker/gitea/gitea-db:/var/lib/postgresql/data
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
environment:
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
DB_TYPE: postgres
|
||||
DB_HOST: db:5432
|
||||
DB_NAME: gitea
|
||||
DB_USER: gitea
|
||||
DB_PASSWD: tu7Zt42Ng98tWJ
|
||||
ROOT_URL: http://localhost:8070
|
||||
volumes:
|
||||
- /home/pi/mnt/docker/gitea/gitea-data:/data
|
||||
ports:
|
||||
- "8070:3000" # Webinterface
|
||||
- "222:22" # SSH Zugriff auf Repos
|
||||
|
||||
volumes:
|
||||
gitea-db:
|
||||
gitea-data:
|
||||
Reference in New Issue
Block a user