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