Skip to content

Commit

Permalink
turn off auto restart for docker images
Browse files Browse the repository at this point in the history
Largely because they are used for dev purposes and it's annoying to have
to stop them when you want to spin up a different project with the same
images and the same ports.
  • Loading branch information
struan committed Jun 17, 2024
1 parent 8493318 commit e5fbfac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: '3.9'
services:
db:
image: postgres:13
restart: always
volumes:
- .:/app
- pgdata:/var/lib/postgresql/data
Expand Down Expand Up @@ -43,7 +42,6 @@ services:
working_dir: /app
mailhog:
image: mailhog/mailhog:v1.0.1
restart: always
ports:
- 1025:1025
- 8025:8025
Expand Down

0 comments on commit e5fbfac

Please sign in to comment.