Use top-level name property in docker compose
Fix docker compose orphan containers warning
This commit is contained in:
parent
d21a761689
commit
fbd5591e9d
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_usermanager_dev
|
||||
|
||||
services:
|
||||
usermanager-api-dev:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_browser_dev
|
||||
|
||||
services:
|
||||
browser-client-dev:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_browser
|
||||
|
||||
services:
|
||||
browser-client:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_flights_dev
|
||||
|
||||
services:
|
||||
flights-api-dev:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_flights
|
||||
|
||||
services:
|
||||
flights-api:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_gateway_dev
|
||||
|
||||
services:
|
||||
api-gateway-dev:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_gateway
|
||||
|
||||
services:
|
||||
api-gateway:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_screen_dev
|
||||
|
||||
services:
|
||||
screens-client-dev:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_screen
|
||||
|
||||
services:
|
||||
screens-client:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_subscriptions_dev
|
||||
|
||||
services:
|
||||
subscriptions-api-dev:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
version: '3.8'
|
||||
name: fids_subscriptions
|
||||
|
||||
services:
|
||||
subscriptions-api:
|
||||
|
|
Loading…
Reference in New Issue