cambios docker compose

This commit is contained in:
Alie 2024-12-09 09:49:13 +01:00
parent 131d99a4f3
commit afb37d98b4
1 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
services: services:
mongodb: mongodb:
image: mongo:bionic image: mongo:bionic
container_name: mongodb container_name: mongodb-fe
ports: ports:
- "27017:27017" - "27017:27017"
environment: environment:
@ -14,9 +14,9 @@ services:
bot-api: bot-api:
image: git.fai.st/fedi-image-bot/bot-api:latest image: git.fai.st/fedi-image-bot/bot-api:latest
container_name: bot-api container_name: bot-api-fe
ports: ports:
- "8080:8080" - 8080:8080
depends_on: depends_on:
- mongodb - mongodb
environment: environment:
@ -28,9 +28,9 @@ services:
fe-middleware: fe-middleware:
image: git.fai.st/fedi-image-bot/fe-middleware:latest image: git.fai.st/fedi-image-bot/fe-middleware:latest
container_name: fe-middleware container_name: fe-middleware-fe
ports: ports:
- "8081:8081" - 8081:8081
depends_on: depends_on:
- bot-api - bot-api
environment: environment:
@ -43,7 +43,7 @@ services:
build: . build: .
container_name: bot-image-moderation-fe container_name: bot-image-moderation-fe
ports: ports:
- "80:80" - 80:80
develop: develop:
watch: watch:
- action: rebuild - action: rebuild