version: "3.0" services: app-sba: build: context: ./roncoo-education-app-sba args: JAVA_OPTS: '-Xmn128M -Xmx128M' RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=app-eureka' image: roncoo-education-app-sba container_name: sba restart: always volumes: - /home/roncoo/dockers/logs/sba:/home/roncoo/education/logs/sba networks: - education ports: - "5721:5721" app-job: build: context: ./roncoo-education-app-job args: JAVA_OPTS: '-Xmn128M -Xmx128M' RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=app-eureka' image: roncoo-education-app-job container_name: job restart: always volumes: - /home/roncoo/dockers/logs/job:/home/roncoo/education/logs/job networks: - education ports: - "5820:5820" app-gateway: build: context: ./roncoo-education-app-gateway args: JAVA_OPTS: '-Xmn128M -Xmx128M' RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=app-eureka' image: roncoo-education-app-gateway container_name: gateway restart: always volumes: - /home/roncoo/dockers/logs/gateway:/home/roncoo/education/logs/gateway networks: - education ports: - "5840:5840" system-service: build: context: ./roncoo-education-system/roncoo-education-system-service args: JAVA_OPTS: '-Xmn128M -Xmx128M' RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=app-eureka' image: roncoo-education-system-service container_name: system restart: always volumes: - /home/roncoo/dockers/logs/system:/home/roncoo/education/logs/system networks: - education ports: - "5730:5730" depends_on: - app-gateway user-service: build: context: ./roncoo-education-user/roncoo-education-user-service args: JAVA_OPTS: '-Xmn128M -Xmx128M' RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=app-eureka' image: roncoo-education-user-service container_name: user restart: always volumes: - /home/roncoo/dockers/logs/user:/home/roncoo/education/logs/user networks: - education ports: - "5720:5720" depends_on: - app-gateway course-service: build: context: ./roncoo-education-course/roncoo-education-course-service args: JAVA_OPTS: '-Xmn128M -Xmx128M' RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=app-eureka' image: roncoo-education-course-service container_name: course restart: always volumes: - /home/roncoo/dockers/logs/course:/home/roncoo/education/logs/course networks: - education ports: - "5710:5710" depends_on: - app-gateway networks: education: driver: bridge