Skip to content

Commit 79a899b

Browse files
change always restart to unless-stopped
1 parent 6ee1cb4 commit 79a899b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
version: "3.3"
1+
version: '3.3'
22

33
services:
44
web:
55
image: 'gitlab/gitlab-ce:latest'
6-
restart: always
6+
restart: unless-stopped
77
hostname: ${GITLAB_HOSTNAME}
88
environment:
99
GITLAB_OMNIBUS_CONFIG: |
@@ -34,7 +34,7 @@ services:
3434

3535
runner:
3636
image: 'gitlab/gitlab-runner:latest'
37-
restart: always
37+
restart: unless-stopped
3838
volumes:
3939
- runner_config:/etc/gitlab-runner
4040
- /var/run/docker.sock:/var/run/docker.sock

0 commit comments

Comments
 (0)