Skip to content

Commit

Permalink
(docker): Add gitea
Browse files Browse the repository at this point in the history
  • Loading branch information
thibmaek committed Mar 24, 2024
1 parent d2f1a78 commit d69783d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions files/docker_compose/gitea/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3'

services:
gitea:
image: gitea/gitea
container_name: gitea
env_file: gitea.env
ports:
- 3000:3000
- 222:22
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
2 changes: 2 additions & 0 deletions files/docker_compose/gitea/gitea.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
USER_UID=1000
USER_GID=1000

0 comments on commit d69783d

Please sign in to comment.