Skip to content

Commit 6b951e1

Browse files
committed
chore: rename services in Docker Compose files for consistency
- Updated service names in both development and production Docker Compose files from `list_am_bot` to `listambot` for uniformity. - Adjusted container names accordingly to reflect the new naming convention.
1 parent 6637448 commit 6b951e1

File tree

3 files changed

+19
-24
lines changed

3 files changed

+19
-24
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,7 @@ The scraping system includes multiple layers of resilience:
271271
- Increasing delays: 1s → 2s → 4s (max 5s)
272272
- Prevents overwhelming failed services
273273

274-
3. **Automatic Fallback**
275-
- If FlareSolverr is unavailable, falls back to direct HTTP requests
276-
- Configurable via `FLARESOLVERR_ENABLE_FALLBACK=true`
277-
- Ensures scraping continues even if FlareSolverr fails
278-
279-
4. **Graceful Degradation**
274+
3. **Graceful Degradation**
280275
- Logs failures without stopping the bot
281276
- Continues with available functionality
282277
- Admin receives error notifications

docker-compose.dev.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: list_am_bot
1+
name: listambot
22
services:
3-
list_am_bot.postgres:
4-
container_name: list_am_bot.postgres
3+
listambot.postgres:
4+
container_name: listambot.postgres
55
env_file: .env
66
profiles: [system]
77
environment:
@@ -28,9 +28,9 @@ services:
2828
ports:
2929
- ${POSTGRES_PORT}:5432
3030

31-
list_am_bot.flaresolverr:
31+
listambot.flaresolverr:
3232
image: ghcr.io/flaresolverr/flaresolverr:latest
33-
container_name: list_am_bot.flaresolverr
33+
container_name: listambot.flaresolverr
3434
profiles: [system]
3535
env_file: .env
3636
environment:
@@ -44,11 +44,11 @@ services:
4444
- ./.docker/flaresolver:/config
4545
restart: unless-stopped
4646

47-
list_am_bot.core:
48-
image: list_am_bot-dev:latest
47+
listambot.core:
48+
image: listambot-dev:latest
4949
entrypoint: /tmp/entrypoint.sh
5050
profiles: [node]
51-
container_name: list_am_bot.core
51+
container_name: listambot.core
5252
env_file:
5353
- ./.env
5454
restart: always

docker-compose.prod.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: list_am_bot
1+
name: listambot
22
services:
3-
list_am_bot.postgres:
4-
container_name: list_am_bot.postgres
3+
listambot.postgres:
4+
container_name: listambot.postgres
55
environment:
66
- POSTGRES_DB=${POSTGRES_NAME}
77
- POSTGRES_USER=${POSTGRES_USERNAME}
@@ -31,9 +31,9 @@ services:
3131
networks:
3232
- listambot_network
3333

34-
list_am_bot.npm:
34+
listambot.npm:
3535
image: 'jc21/nginx-proxy-manager:latest'
36-
container_name: list_am_bot.npm
36+
container_name: listambot.npm
3737
restart: unless-stopped
3838
ports:
3939
- '80:80'
@@ -45,9 +45,9 @@ services:
4545
networks:
4646
- listambot_network
4747

48-
list_am_bot.flaresolverr:
48+
listambot.flaresolverr:
4949
image: ghcr.io/flaresolverr/flaresolverr:latest
50-
container_name: list_am_bot.flaresolverr
50+
container_name: listambot.flaresolverr
5151
env_file: .env
5252
environment:
5353
- LOG_FILE=${LOG_FILE:-none}
@@ -60,15 +60,15 @@ services:
6060
- ./flaresolver:/config
6161
restart: unless-stopped
6262

63-
list_am_bot.core:
63+
listambot.core:
6464
image: app_image
65-
container_name: list_am_bot.core
65+
container_name: listambot.core
6666
entrypoint: /tmp/entrypoint.sh core
6767
env_file:
6868
- ./.env
6969
restart: unless-stopped
7070
depends_on:
71-
- list_am_bot.postgres
71+
- listambot.postgres
7272
stdin_open: true
7373
tty: true
7474
networks:

0 commit comments

Comments
 (0)