First
This commit is contained in:
commit
85e6e693f8
8 changed files with 564 additions and 0 deletions
36
NG-gitea.yaml
Executable file
36
NG-gitea.yaml
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
services:
|
||||
gitea:
|
||||
image: gitea/gitea:nightly
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=giteadb:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=gitea
|
||||
restart: always
|
||||
networks:
|
||||
- netgrimoire
|
||||
volumes:
|
||||
- /DockerVol/gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
depends_on:
|
||||
- giteadb
|
||||
|
||||
giteadb:
|
||||
image: postgres:14
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
networks:
|
||||
- netgrimoire
|
||||
volumes:
|
||||
- /DockerVol/gitea/postgres:/var/lib/postgresql/data
|
||||
Loading…
Add table
Add a link
Reference in a new issue