neb/servers/apoc/docker-compose.d/docker-compose.git.yml

20 lines
474 B
YAML
Raw Normal View History

2023-10-20 15:50:35 +02:00
version: '2.2'
services:
git:
2024-01-04 19:39:13 +01:00
image: codeberg.org/forgejo/forgejo:1.21.3-0
2023-10-20 15:50:35 +02:00
container_name: git # IMPORTANT FOR SSH
restart: always
privileged: true
environment:
USER_UID: 1000
USER_GID: 1002
volumes:
- /srv/gitea/data:/data/git
- /srv/gitea/config:/data/gitea
- /srv/gitea/other/ssh:/data/ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
- proxy
- internal