feat: test forgejo instance
This commit is contained in:
parent
f3e88b03da
commit
ce935f42aa
1 changed files with 25 additions and 0 deletions
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
forgejo:
|
||||||
|
image: codeberg.org/forgejo/forgejo:1.20
|
||||||
|
container_name: forgejo
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- ftest
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- ./conf/app.ini:/data/gitea/conf/app.ini:wo
|
||||||
|
ports:
|
||||||
|
- "7000:7000"
|
||||||
|
- "2222:22"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
ftest:
|
||||||
|
name: ftest
|
||||||
|
external: true
|
Loading…
Reference in a new issue