gitea-docker/docker-compose.yml

30 lines
498 B
YAML

---
networks:
backend:
external: false
volumes:
gitea-data:
services:
gitea:
image: gitea/gitea:1
container_name: gitea
restart: always
networks:
- backend
volumes:
- gitea-data:/data
ports:
- "2222:22"
- "127.0.0.1:3000:3000"
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# - /root/.docker/config.json:/config.json
# Once an hour
command: --interval 3600