Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab CE
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
Deployments
GitLab CE
Commits
0e5fbe52
Verified
Commit
0e5fbe52
authored
7 months ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sample..env
+1
-1
1 addition, 1 deletion
sample..env
sample.docker-compose.yml
+4
-4
4 additions, 4 deletions
sample.docker-compose.yml
with
5 additions
and
5 deletions
sample..env
+
1
−
1
View file @
0e5fbe52
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
sample.docker-compose.yml
+
4
−
4
View file @
0e5fbe52
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment