19 lines
346 B
YAML
19 lines
346 B
YAML
---
|
|
version: "2.1"
|
|
services:
|
|
gitea:
|
|
image: gitea/gitea:latest
|
|
container_name: gitea
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
volumes:
|
|
- ./data:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "8300:3000"
|
|
- "222:22"
|
|
restart: unless-stopped
|
|
|