version: '2.0'

services:
  web_portal:
    build: ./wasm_django
    network_mode: "host"
    depends_on:
      - 'device_server'
    restart: always
    volumes:
      - store:/app/static/upload/
  device_server:
    build:
      context: ./wasm_django
      dockerfile: ./server/Dockerfile
    network_mode: "host"
    restart: always
    volumes:
      - store:/app/static/upload/

volumes:
  store: