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' version: '3'
services: services:
app: app:
build: ./docker build:
context: ./docker
dockerfile: Dockerfile-app
ports: ports:
- 80:80 - 80:80
volumes: volumes:
- .:/var/www/mapguesser - .:/var/www/mapguesser
links: multi:
- 'mariadb' build:
- 'mail' context: ./docker
dockerfile: Dockerfile-multi
ports:
- 5000:5000
- 8090:8090
- 9229:9229
volumes:
- .:/var/www/mapguesser
mariadb: mariadb:
image: mariadb:10.3 image: mariadb:10.3
ports: ports: