2022-06-04 15:17:08 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
gitea:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
2023-05-15 13:17:32 +00:00
|
|
|
image: gitea/gitea:1.19.3
|
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"
|