feat: init woodpecker #1
1 changed files with 7 additions and 14 deletions
|
@ -5,19 +5,12 @@ networks:
|
||||||
external: false
|
external: false
|
||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
forgejo:
|
||||||
image: gitea/gitea:1.16.5
|
image: codeberg.org/forgejo/forgejo:9
|
||||||
container_name: gitea
|
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- FORGEJO__security__INSTALL_LOCK=true
|
||||||
- USER_GID=1000
|
- FORGEJO__federation__ENABLED=true
|
||||||
restart: always
|
- FORGEJO__server__ROOT_URL=http://localhost
|
||||||
networks:
|
- FORGEJO__server__HTTP_PORT=3000
|
||||||
- gitea
|
|
||||||
volumes:
|
|
||||||
- ./tmp/gitea:/data
|
|
||||||
- /etc/timezone:/etc/timezone:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "2221:22"
|
|
||||||
|
|
Loading…
Reference in a new issue