2022-06-04 15:17:08 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
gitea:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
2022-08-30 18:19:08 +00:00
|
|
|
image: gitea/gitea:1.17.1
|
2022-06-04 15:17:08 +00:00
|
|
|
container_name: gitea
|
|
|
|
environment:
|
|
|
|
- USER_UID=1000
|
|
|
|
- USER_GID=1000
|
2022-08-30 19:02:06 +00:00
|
|
|
- DISABLE_GIT_HOOKS=false
|
2022-06-04 15:17:08 +00:00
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- gitea
|
|
|
|
volumes:
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
- "222:22"
|