18 lines
363 B
YAML
18 lines
363 B
YAML
services:
|
|
notes-app:
|
|
build: ./notes-app/
|
|
restart: always
|
|
notes-back:
|
|
build: ./notes-backend/
|
|
restart: always
|
|
nginx:
|
|
image: nginx:1.25.3-alpine-slim
|
|
volumes:
|
|
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
|
ports:
|
|
- "80:80"
|
|
restart: always
|
|
depends_on:
|
|
- notes-app
|
|
- notes-back
|