You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
546 B
YAML
32 lines
546 B
YAML
5 years ago
|
services:
|
||
|
gitea:
|
||
|
image: gitea/gitea:latest
|
||
|
environment:
|
||
|
- DB_TYPE=postgres
|
||
|
- DB_HOST=db:5432
|
||
|
- DB_NAME=gitea
|
||
|
- DB_USER=gitea
|
||
|
- DB_PASSWD=gitea
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- git_data:/data
|
||
|
ports:
|
||
5 years ago
|
- 3000:3000
|
||
5 years ago
|
db:
|
||
|
image: postgres:alpine
|
||
|
environment:
|
||
|
- POSTGRES_USER=gitea
|
||
|
- POSTGRES_PASSWORD=gitea
|
||
|
- POSTGRES_DB=gitea
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- db_data:/var/lib/postgresql/data
|
||
4 years ago
|
expose:
|
||
|
- 5432
|
||
5 years ago
|
volumes:
|
||
|
db_data:
|
||
|
git_data:
|
||
|
|
||
|
|
||
4 years ago
|
|