Gitea compose file

This commit is contained in:
Noah L. Schrick 2022-06-24 16:20:57 -05:00
parent 17befc041d
commit 4c01224fcf

26
gitea/docker-compose.yml Normal file
View File

@ -0,0 +1,26 @@
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- DISABLE_REGISTRATION="true"
- DOMAIN="git.theschricks.com"
- SSH_DOMAIN="git.theschricks.com"
restart: unless-stopped
networks:
- gitea
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"