version: "3.7" services: 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} volumes: tech_storage_rs: external: true networks: default: external: name: tech_network driver: bridge