Files
my-blog/docker-compose.yml
T

19 lines
379 B
YAML

version: '3.8'
services:
backend:
build: ./backend
container_name: blog-backend
restart: always
ports:
- "8089:8080"
frontend:
image: nginx:alpine
container_name: blog-frontend
restart: always
ports:
- "8088:80"
volumes:
- ./frontend:/usr/share/nginx/html
- ./frontend/nginx.conf:/etc/nginx/conf.d/default.conf:ro