diff --git a/.env b/.env index 38fe887..b61e111 100644 --- a/.env +++ b/.env @@ -1,3 +1,5 @@ +DIR=. + GITEA__database__DB_TYPE= GITEA__database__HOST= GITEA__database__NAME= diff --git a/docker-compose.yaml b/docker-compose.yaml index d3057ce..e45566e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,7 +15,7 @@ services: networks: - gitea volumes: - - ${HOME}/.config/gitea/data:/data + - ${DIR:-.}/gitea/data:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: