Remove linking, which was deprecated.
This fixes the issue where the db does not start.
This commit is contained in:
Frank Bertsch 2020-04-22 13:15:25 -04:00
Родитель 9bc450318e
Коммит 041fb3f5af
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -3,6 +3,10 @@ version: '2.1'
services: services:
db: db:
image: postgres:9.4 image: postgres:9.4
ports:
- "5432:5432"
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
web: web:
build: build:
@ -12,8 +16,6 @@ services:
- "5000:5000" - "5000:5000"
depends_on: depends_on:
- db - db
links:
- db
command: serve command: serve
volumes: volumes:
- ./:/app/ - ./:/app/