27 lines
505 B
YAML
27 lines
505 B
YAML
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
|