switch to direct DB connection on supabase_default network, bypass supavisor
This commit is contained in:
+8
-8
@@ -2,11 +2,11 @@ services:
|
||||
worker:
|
||||
build: ./worker
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN}
|
||||
POSTGRES_HOST: ${POSTGRES_HOST:-192.168.178.3}
|
||||
POSTGRES_PORT: "6543"
|
||||
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
||||
DEFAULT_INTERVAL_MINUTES: ${DEFAULT_INTERVAL_MINUTES:-60}
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- supabase_default
|
||||
|
||||
networks:
|
||||
supabase_default:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user