группа микросервисов, для автоматизации деятельности отдела технологического сопровождения обучения
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.
|
|
|
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}
|
|
|
|
- teh-logs:${LOGGER_DATA}
|
|
|
|
networks:
|
|
|
|
- teh-net
|
|
|
|
volumes:
|
|
|
|
teh-storage:
|
|
|
|
external: true
|
|
|
|
teh-logs:
|
|
|
|
external: true
|
|
|
|
networks:
|
|
|
|
teh-net:
|
|
|
|
name: teh-net
|
|
|
|
external: true
|
|
|
|
driver: bridge
|