2021-11-08 22:53:39 +00:00
|
|
|
services:
|
|
|
|
frontend:
|
|
|
|
build: frontend
|
|
|
|
ports:
|
|
|
|
- "80:4200"
|
|
|
|
volumes:
|
|
|
|
- ./frontend:/home/node/app
|
|
|
|
environment:
|
2021-11-09 00:55:57 +00:00
|
|
|
- COMMAND=run
|
2021-11-09 20:52:42 +00:00
|
|
|
backend:
|
|
|
|
build: backend
|
|
|
|
ports:
|
|
|
|
- "8019:3000"
|
2021-11-09 21:57:51 +00:00
|
|
|
volumes:
|
|
|
|
- ./backend:/home/node/app
|
|
|
|
environment:
|
|
|
|
- COMMAND=run
|
2021-11-15 21:47:41 +00:00
|
|
|
- DATABASE_URL=mysql://szakdolgozat:DevelopmentPassword@database/szakdolgozat
|
2022-01-20 16:56:29 +00:00
|
|
|
user: ${SZD_USERNAME:-node}
|
2021-11-15 19:34:45 +00:00
|
|
|
database:
|
|
|
|
image: mysql:5.6
|
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
environment:
|
2021-11-15 21:47:41 +00:00
|
|
|
- MYSQL_ROOT_PASSWORD=VerySecretPassword
|
|
|
|
- MYSQL_DATABASE=szakdolgozat
|
|
|
|
- MYSQL_USER=szakdolgozat
|
|
|
|
- MYSQL_PASSWORD=DevelopmentPassword
|
2021-11-08 22:53:39 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: szakdolgozat
|
|
|
|
driver: bridge
|