Skip to content

Commit

Permalink
modification to access db locally
Browse files Browse the repository at this point in the history
  • Loading branch information
luisheres committed Oct 22, 2024
1 parent 01d179d commit d253da2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
version: "3.8"

services:

# Reverse proxy
traefik:
image: "traefik:v2.10.5"
Expand Down Expand Up @@ -94,6 +93,8 @@ services:
- ./database/docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d/
# Initialization scripts (run on every start!)
- ./database/always-initdb.d/:/always-initdb.d/
ports:
- "5432:5432"
entrypoint: "custom-entrypoint.sh"

logging:
Expand Down Expand Up @@ -191,11 +192,10 @@ services:
restart: unless-stopped
depends_on:
- emqx
command:
[
command: [
"mqtt --host emqx --port 1883 --user __internal__ subscribe -t '$$share/filterers/PONTOS_INGRESS/+/+/+' --line '{topic} {message}'
| sed -u '/^$/d' | sed -u 's/PONTOS_INGRESS/PONTOS_EGRESS/'
| mqtt --host emqx --port 1883 --user __internal__ publish --line '{topic} {message}'"
| sed -u '/^$/d' | sed -u 's/PONTOS_INGRESS/PONTOS_EGRESS/'
| mqtt --host emqx --port 1883 --user __internal__ publish --line '{topic} {message}'",
]
volumes:
vol-emqx-data:
Expand Down

0 comments on commit d253da2

Please sign in to comment.