web-application-engineering/docker-compose.yml
Marco Zeisler 7768d96eb8 update to assignment 3
(cherry picked from commit 91d6020e10249d97adf95ff6f43acc25688eb04d)
2021-05-12 00:25:56 +02:00

29 lines
644 B
YAML

version: "2"
# INFO: to not build but just pull - build keys are commented out
services:
waecm_g4_be:
container_name: waecm_g4_be_container
hostname: waecm_g4_be
image: pfingstfrosch/waecm-2021-group-04-bsp-3-be
build:
context: ./backend
dockerfile: ./Dockerfile
env_file:
- .env
volumes:
- ./container_db:/code/app_be/db
ports:
- 8000:8000
waecm_g4_fe:
container_name: waecm_g4_fe_container
hostname: waecm_g4_fe
image: pfingstfrosch/waecm-2021-group-04-bsp-3-fe
build:
context: ./frontend
dockerfile: ./Dockerfile
ports:
- 4200:4200