1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- version: '3.4'
-
- services:
- mysql:
- image: mysql:8.0
- container_name: mysql-server
- restart: always
- ports:
- - "3036:3036"
- networks:
- - micro-services
- volumes:
- - mysql-db:/var/lib/mysql
-
- micro-service-customer:
- image: micro-service-customer:latest
- container_name: micro-service-customer
- build:
- context: ../micro-service-customer
- dockerfile: Dockerfile
- ports:
- - "8085:8085"
- networks:
- - micro-services
-
- micro-service-account:
- image: micro-service-account:latest
- container_name: micro-service-account
- build:
- context: ../micro-service-account
- dockerfile: Dockerfile
- ports:
- - "8086:8086"
- networks:
- - micro-services
-
- micro-service-movement:
- image: micro-service-movement:latest
- container_name: micro-service-movement
- build:
- context: ../micro-service-movement
- dockerfile: Dockerfile
- ports:
- - "8087:8087"
- networks:
- - micro-services
- volumes:
- mysql-db:
- networks:
- micro-services:
|