clean
This commit is contained in:
parent
6c75249ca4
commit
2fb50b0ec7
@ -1,30 +0,0 @@
|
||||
services:
|
||||
server:
|
||||
image: gitea/gitea:1.14.5-rootless
|
||||
environment:
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=db:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=gitea
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/var/lib/gitea
|
||||
- ./config:/etc/gitea
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "2222:2222"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: postgres:13
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
@ -12,4 +12,4 @@ build:
|
||||
web: Dockerfile
|
||||
|
||||
run:
|
||||
web: ./start.sh
|
||||
web: ./run.sh
|
Loading…
Reference in New Issue
Block a user