Skip to content

Commit

Permalink
add restart unless-stopped to docker compose
Browse files Browse the repository at this point in the history
changed from restart: "no" to restart: unless-stopped so containers will restart if server or docker is restarted
  • Loading branch information
joshdentremont authored Jan 16, 2024
1 parent 08fe5ee commit 13df6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.8"

# Common to all services
x-common: &common
restart: "no"
restart: unless-stopped
tty: true # Required for non-root users with selinux enabled.
security_opt:
- label=type:container_runtime_t # Required for selinux to access the docker socket and bind mount files.
Expand Down

0 comments on commit 13df6f3

Please # to comment.