From 4fabc39d44a7d424c130edbf39e86efbee796af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Wed, 17 Mar 2021 23:12:44 +0100 Subject: [PATCH] MAPG-203 restructure Docker stack --- docker-compose.yml | 17 +++++++++++++---- docker/{Dockerfile => Dockerfile-app} | 0 2 files changed, 13 insertions(+), 4 deletions(-) rename docker/{Dockerfile => Dockerfile-app} (100%) diff --git a/docker-compose.yml b/docker-compose.yml index ee933bc..16a2306 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,23 @@ version: '3' services: app: - build: ./docker + build: + context: ./docker + dockerfile: Dockerfile-app ports: - 80:80 volumes: - .:/var/www/mapguesser - links: - - 'mariadb' - - 'mail' + multi: + build: + context: ./docker + dockerfile: Dockerfile-multi + ports: + - 5000:5000 + - 8090:8090 + - 9229:9229 + volumes: + - .:/var/www/mapguesser mariadb: image: mariadb:10.3 ports: diff --git a/docker/Dockerfile b/docker/Dockerfile-app similarity index 100% rename from docker/Dockerfile rename to docker/Dockerfile-app