services: riichi: build: . ports: - "5000:5000" environment: - FLASK_ENV=production volumes: - ./frontend:/app/frontend - ./backend/src:/app/backend/src restart: unless-stopped nginx: image: nginx:latest ports: - "127.0.0.1:3002:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - ${PWD}/frontend:/usr/share/nginx/html/frontend - ${PWD}/index.html:/usr/share/nginx/html/index.html:ro - ${PWD}/components:/usr/share/nginx/html/components - ${PWD}/img:/usr/share/nginx/html/img depends_on: - riichi restart: unless-stopped