Use top-level name property in docker compose

Fix docker compose orphan containers warning
This commit is contained in:
Santiago Lo Coco 2023-11-09 22:46:53 -03:00
parent d21a761689
commit fbd5591e9d
13 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_usermanager_dev
services:
usermanager-api-dev:

View File

@ -1,10 +1,12 @@
version: '3.8'
name: fids_usermanager
services:
usermanager-api:
extends:
file: docker-template.yml
service: usermanager-api
container_name: fids_usermanager_api
depends_on:
usermanager-db:
condition: service_healthy
@ -12,6 +14,7 @@ services:
- auth
usermanager-db:
container_name: fids_usermanager_db
extends:
file: docker-template.yml
service: usermanager-db

View File

@ -2,7 +2,6 @@ version: '3.8'
services:
usermanager-api:
container_name: fids_usermanager_api
image: ${API_IMAGE}
healthcheck:
test: ["CMD", "nc", "-vz", "-w1", "localhost", "5000"]
@ -17,7 +16,6 @@ services:
- APP_SETTINGS=${APP_SETTINGS}
usermanager-db:
container_name: fids_usermanager_db
build:
context: ./db
dockerfile: Dockerfile

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_browser_dev
services:
browser-client-dev:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_browser
services:
browser-client:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_flights_dev
services:
flights-api-dev:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_flights
services:
flights-api:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_gateway_dev
services:
api-gateway-dev:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_gateway
services:
api-gateway:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_screen_dev
services:
screens-client-dev:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_screen
services:
screens-client:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_subscriptions_dev
services:
subscriptions-api-dev:

View File

@ -1,4 +1,5 @@
version: '3.8'
name: fids_subscriptions
services:
subscriptions-api: