Docker compose has a proper gitea container with basic host containers setup

This commit is contained in:
shockrah 2024-07-29 02:53:01 -07:00
parent 1079dc7bb8
commit d410112831

View File

@ -0,0 +1,25 @@
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- gitea
volumes:
- /opt/containers/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "8080:3000"
- "2221:22"