MAPG-203 restructure Docker stack

This commit is contained in:
Bence Pőcze 2021-03-17 23:12:44 +01:00
parent 2120fbebbc
commit 4fabc39d44
Signed by: bence
GPG Key ID: AA52B11A3269D1C1
2 changed files with 13 additions and 4 deletions

View File

@ -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: