Skip to content

Commit

Permalink
change always restart to unless-stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentPoinsaut committed Feb 9, 2021
1 parent 6ee1cb4 commit 79a899b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: "3.3"
version: '3.3'

services:
web:
image: 'gitlab/gitlab-ce:latest'
restart: always
restart: unless-stopped
hostname: ${GITLAB_HOSTNAME}
environment:
GITLAB_OMNIBUS_CONFIG: |
Expand Down Expand Up @@ -34,7 +34,7 @@ services:

runner:
image: 'gitlab/gitlab-runner:latest'
restart: always
restart: unless-stopped
volumes:
- runner_config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
Expand Down

0 comments on commit 79a899b

Please sign in to comment.