From 04b8875a6b72fe6405601051b58899cdd03ca28d Mon Sep 17 00:00:00 2001 From: KagurazakaNyaa Date: Sun, 24 Oct 2021 02:04:58 +0800 Subject: change docker build --- docker-compose.yml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 9fe41e15..3c03220c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,24 +1,7 @@ version: "3" services: - db: - hostname: fosscord_db - image: mongo:latest - volumes: - - ./db:/data/db - restart: unless-stopped - api: - hostname: fosscord_api - image: fosscord/api - depends_on: - - db - ports: - - 3001:3001 - env_file: ./.docker/env - gateway: - hostname: fosscord_gateway - image: fosscord/gateway - depends_on: - - db - ports: - - 3002:3002 - env_file: ./.docker/env + server: + image: fosscord/server + build: . + ports: + - 3001:3001 -- cgit 1.4.1