Skip to content
Snippets Groups Projects
Verified Commit 0e5fbe52 authored by Olivier Benz's avatar Olivier Benz
Browse files

Revert "Replace . with $PWD"

This reverts commit 892780d1.
$PWD does not work when deploying as a Swarm stack.
parent 78256913
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## Project name ## Project name
COMPOSE_PROJECT_NAME=vcs COMPOSE_PROJECT_NAME=vcs
# Repository folder (default: $PWD) # Repository folder (default: .)
GL_HOME= GL_HOME=
# GitLab URL # GitLab URL
......
...@@ -8,9 +8,9 @@ services: ...@@ -8,9 +8,9 @@ services:
ports: ports:
- "${GITLAB_SHELL_SSH_PORT:-10022}:22" - "${GITLAB_SHELL_SSH_PORT:-10022}:22"
volumes: volumes:
- ${GL_HOME:-$PWD}/gitlab/config:/etc/gitlab - ${GL_HOME:-.}/gitlab/config:/etc/gitlab
- ${GL_HOME:-$PWD}/gitlab/logs:/var/log/gitlab - ${GL_HOME:-.}/gitlab/logs:/var/log/gitlab
- ${GL_HOME:-$PWD}/gitlab/data:/var/opt/gitlab - ${GL_HOME:-.}/gitlab/data:/var/opt/gitlab
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.docker.network=webproxy - traefik.docker.network=webproxy
...@@ -165,7 +165,7 @@ services: ...@@ -165,7 +165,7 @@ services:
image: gitlab/gitlab-runner image: gitlab/gitlab-runner
restart: always restart: always
volumes: volumes:
- ${GL_HOME:-$PWD}/gitlab-runner/config:/etc/gitlab-runner - ${GL_HOME:-.}/gitlab-runner/config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
gitlab-smtp: gitlab-smtp:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment