Skip to content

Commit

Permalink
use unless-stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Apr 19, 2023
1 parent e740af4 commit 38ac36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:

mysql:
image: ubuntu/mysql:8.0-22.04_beta
restart: on-failure
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: 'root'
logging:
Expand All @@ -37,7 +37,7 @@ services:

socat:
image: bennythink/socat
restart: always
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
entrypoint: [ "socat", "tcp-listen:2375,fork,reuseaddr","unix-connect:/var/run/docker.sock" ]
Expand Down

0 comments on commit 38ac36a

Please sign in to comment.