changed docker-compose to work on all machines

This commit is contained in:
Patryk Hegenberg 2023-12-30 10:44:22 +01:00
parent 3c73706647
commit 2485af445f

View file

@ -4,7 +4,6 @@ services:
web: web:
#image: math_wizard #image: math_wizard
build: build:
context: /home/pata/dev/WebProg/TheMathWizard
dockerfile: Dockerfile.math_wizard dockerfile: Dockerfile.math_wizard
ports: ports:
- "8080:8080" - "8080:8080"
@ -15,7 +14,6 @@ services:
db: db:
build: build:
context: /home/pata/dev/WebProg/TheMathWizard
dockerfile: Dockerfile.db dockerfile: Dockerfile.db
environment: environment:
MYSQL_ROOT_PASSWORD: password MYSQL_ROOT_PASSWORD: password