Please can you help me with this problem?
-
I am totally new in docker, without any experience …
-
I am learning spring boot just now (I have basic experience) - one of the first parts of this spring boot tutorial deals with setting configuration file (docker-compose.yml) for docker
-
I have Win7 OS, so i had to install DockerToolbox-19.03.1 - this seems to work fine - the same responses are straight from its terminal and from Intellij IDEA terminal
-
when I try to run compse command, I always get this error message:
PS D:\work\java\microservices2> docker-compose up -d ERROR: Invalid interpolation format for "pgadmin" option in service "services": "${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}"
-
and this is a content of docker-compose.yml:
services: postgres: container_name: postgres image: postgres environment: POSTGRES_USER: admin POSTGRES_PASSWORD: password PGDATA: /data/postgres volumes: - postgres:/data/postgres ports: - "5432:5432" networks: - postgres restart: unless-stopped pgadmin: container_name: pgadmin image: dpage/pgadmin4 environment: PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org} PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin} PGADMIN_CONFIG_SERVER_MODE: 'False' volumes: - pgadmin:/var/lib/pgadmin ports: - "5050:80" networks: - postgres restart: unless-stopped networks: postgres: driver: bridge volumes: postgres: pgadmin: