gitea docker
This commit is contained in:
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,26 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: gitea/gitea:1.16.1
|
||||||
|
container_name: gitea
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
- HTTP_PORT=80
|
||||||
|
- VIRTUAL_HOST=git.site
|
||||||
|
- LETSENCRYPT_HOST=git.site
|
||||||
|
- DEFAULT_EMAIL=git@gmail.com
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./gitea:/data
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "80"
|
||||||
|
- "22"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: nginx-proxy
|
||||||
Reference in New Issue
Block a user