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