diff --git a/docker-compose.yml b/docker-compose.yml index a5cfe84..28ab017 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,11 +2,14 @@ version: '2' services: users-service: build: ./users-service + container_name: users_service ports: - "8123:8123" + links: + - db:db depends_on: - db environment: - DATABASE_HOST=db db: - build: ./test-database \ No newline at end of file + build: ./test-database