feat: gitea
This commit is contained in:
@@ -1,14 +1,25 @@
|
||||
services:
|
||||
server:
|
||||
gitea:
|
||||
image: docker.gitea.com/gitea:1.24.6
|
||||
restart: always
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "50005:3000"
|
||||
- "22:2222"
|
||||
- "22:22"
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: docker.io/library/postgres:14
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user