chore: put containers in same network as seq container

This commit is contained in:
Stevan Freeborn
2025-06-04 19:38:51 -05:00
parent 6da43d1277
commit 5ec185ca84
+11 -2
View File
@@ -20,13 +20,16 @@ services:
- DiscordClientOptions__Intents=${DISCORD_INTENTS} - DiscordClientOptions__Intents=${DISCORD_INTENTS}
- DiscordNotificationOptions__ChannelId=${DISCORD_NOTIFICATION_CHANNEL_ID} - DiscordNotificationOptions__ChannelId=${DISCORD_NOTIFICATION_CHANNEL_ID}
- DiscordNotificationOptions__MessageFormat="${DISCORD_NOTIFICATION_MESSAGE_FORMAT}" - DiscordNotificationOptions__MessageFormat="${DISCORD_NOTIFICATION_MESSAGE_FORMAT}"
- SeqOptions__ServerUrl=${SEQ_SERVER_URL} - SeqOptions__ServerUrl=http://seq:80
- SeqOptions__ApiKeyHeader=${SEQ_API_KEY_HEADER} - SeqOptions__ApiKeyHeader=${SEQ_API_KEY_HEADER}
- SeqOptions__ApiKey=${SEQ_WEBHOOK_API_KEY} - SeqOptions__ApiKey=${SEQ_WEBHOOK_API_KEY}
- DOTNET_ENVIRONMENT=Production - DOTNET_ENVIRONMENT=Production
networks:
- seq_network
worker: worker:
container_name: steves-bot-worker container_name: steves-bot-worker
image: stevanfreeborn/steves-bot:${WORKER_VERSION} image: stevanfreeborn/steves-bot:${WORKER_VERSION}
restart: always
environment: environment:
- Logging__LogLevel__Default=Debug - Logging__LogLevel__Default=Debug
- Logging__LogLevel__Microsoft=Information - Logging__LogLevel__Microsoft=Information
@@ -34,7 +37,13 @@ services:
- DiscordClientOptions__ApiUrl=${DISCORD_API_URL} - DiscordClientOptions__ApiUrl=${DISCORD_API_URL}
- DiscordClientOptions__AppToken=${DISCORD_APP_TOKEN} - DiscordClientOptions__AppToken=${DISCORD_APP_TOKEN}
- DiscordClientOptions__Intents=${DISCORD_INTENTS} - DiscordClientOptions__Intents=${DISCORD_INTENTS}
- SeqOptions__ServerUrl=${SEQ_SERVER_URL} - SeqOptions__ServerUrl=http://seq:80
- SeqOptions__ApiKeyHeader=${SEQ_API_KEY_HEADER} - SeqOptions__ApiKeyHeader=${SEQ_API_KEY_HEADER}
- SeqOptions__ApiKey=${SEQ_WORKER_API_KEY} - SeqOptions__ApiKey=${SEQ_WORKER_API_KEY}
- DOTNET_ENVIRONMENT=Production - DOTNET_ENVIRONMENT=Production
networks:
- seq_network
networks:
seq_network:
external: true
name: seq-network