Skip to content

Commit

Permalink
build: change docker restart strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhermeasper committed Aug 29, 2024
1 parent 687b355 commit be9294a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
version: '3.8'

services:
marquinhosbot:
build: .
env_file:
- /etc/marquinhos/marquinhos.conf
restart: always
restart: on-failure[10]
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '3'
max-size: '100m'
max-file: '10'
volumes:
- /etc/ssl/certificate.pem:/etc/ssl/certificate.pem
- /etc/ssl/private.pem:/etc/ssl/private.pem

0 comments on commit be9294a

Please sign in to comment.