This commit is contained in:
asmigiel 2024-12-22 22:35:34 +01:00
parent 6c75249ca4
commit 2fb50b0ec7
2 changed files with 1 additions and 31 deletions

View File

@ -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

View File

@ -12,4 +12,4 @@ build:
web: Dockerfile
run:
web: ./start.sh
web: ./run.sh