You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
508 B
26 lines
508 B
2 months ago
|
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
|