Get file:
$ wget https://bytesofprogress.net/resources/docker-compose/gitea/docker-compose.yml
Contents of file:
services:
gitea:
image: docker.io/gitea/gitea:latest
container_name: gitea
restart: always
environment:
- USER_UID=1000
- USER_GID=1000
- DB_TYPE=sqlite3
volumes:
- gitea_data:/var/lib/gitea
- gitea_config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000" # WebInterface (HTTP)
- "2222:2222" # SSH for Git
volumes:
gitea_data:
gitea_config:
Additional information: /