Skip to content

Commit

Permalink
Always restart docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jun 28, 2024
1 parent 82bd4c2 commit 6ad3eb2
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions weatherapi-docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
x-logging: &default-logging
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
loki-pipeline-stages: |
- multiline:
firstline: '^\d{4}-\d{2}-\d{2} \d{1,2}:\d{2}:\d{2}'
max_wait_time: 3s
- regex:
expression: '^(?P<time>\d{4}-\d{2}-\d{2} \d{1,2}:\d{2}:\d{2},d{3}) (?P<message>(?s:.*))$$'
version: "3.4"

name: weatherapi
Expand All @@ -20,7 +9,7 @@ services:
- "8000:8000"
environment:
- DOMAIN=${DOMAIN}
logging: *default-logging
restart: always
networks:
- weatherapi

Expand Down

0 comments on commit 6ad3eb2

Please sign in to comment.