42 lines
697 B
YAML
42 lines
697 B
YAML
---
|
|
|
|
# Gitea
|
|
# A Github alternative
|
|
# Gitea
|
|
# ↳ https://link.to.github
|
|
# ↳ https://link.to.docs
|
|
|
|
services:
|
|
gitea:
|
|
image: gitea/gitea:latest
|
|
container_name: gitea
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
- proxy
|
|
|
|
ports:
|
|
- 2222:22
|
|
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /home/fxequals/docker/gitea:/data
|
|
# - /path/to/host:path/in/container
|
|
# - unique_volume_name:/path/in/container
|
|
|
|
# labels:
|
|
# - 'enabled=true'
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
# ip_address: 127.0.0.1
|
|
|
|
# volumes:
|
|
# unique_volume_name:
|
|
# driver: local |