瀏覽代碼

Use links instead of depends_on in Docker compose files (#97)

pull/139/head
Marc Sluiter 8 年之前
committed by Guillaume Vincent
父節點
當前提交
00984005bb
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      docker-compose.prod.yml
  2. +1
    -1
      docker-compose.yml

+ 1
- 1
docker-compose.prod.yml 查看文件

@@ -16,7 +16,7 @@ services:
- '8000'
volumes:
- www:/backend/www
depends_on:
links:
- db
env_file:
- .env


+ 1
- 1
docker-compose.yml 查看文件

@@ -8,7 +8,7 @@ services:
build: ./backend
expose:
- '8000'
depends_on:
links:
- db
volumes:
- ./backend:/backend


Loading…
取消
儲存