Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Error: Ports in docker compose: 0: Property ports is not allowed

22.05.2023 (👁2189)

Error: Ports in docker compose: 0: Property ports is not allowed

 


 

version: '3.4'

 

services:

  webapi_codedocu:

    image: ${DOCKER_REGISTRY-}webapicodedocu   

    build:

      context: .

      dockerfile: Dockerfile

      ports:

      - "4015:443"

Ein Bild, das Text, Screenshot, Software, Display enthält.

Automatisch generierte Beschreibung

Solution

Type 2x backspace before ports

version: '3.4'

 

services:

  webapi_codedocu:

    image: ${DOCKER_REGISTRY-}webapicodedocu   

    build:

      context: .

      dockerfile: Dockerfile

    ports:

      - "4015:443"

   

     

     

 

Ein Bild, das Text, Screenshot, Software, Multimedia-Software enthält.

Automatisch generierte Beschreibung