docker compose und nach /opt/gitea verschoben

This commit is contained in:
2023-02-06 12:50:22 +01:00
parent ddf9fa27f1
commit 3f400ba979
2 changed files with 37 additions and 22 deletions

View File

@@ -0,0 +1,16 @@
version: "3.8"
services:
server:
image: gitea/gitea:{{ gitea_vars['version'] }}-rootless
restart: always
volumes:
- ./data:/var/lib/gitea
- ./config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "22:2222"
env_file: ./environment.env
user: "{{ git_user.uid }}:{{ git_user.group }}"