version: "3.7" services: storage: container_name: storage hostname: storage build: context: ../storage dockerfile: dockerfile image: "storage" command: ["java","-jar","/app/storage/storage-0.1.jar"] ports: - 82:8282 restart: unless-stopped volumes: - teh-storage:${DATA} networks: - teh-net volumes: teh-storage: external: true networks: teh-net: name: teh-net external: true driver: bridge