services: facti13_web_backend_v2: build: ./java_backend container_name: backend restart: always extra_hosts: - "tf2.pblr-nyk.pro:192.168.3.1" - "git.pblr-nyk.pro:192.168.3.1" volumes: - $PWD/servers.json:/app/servers.json:ro - $PWD/GeoLite2-Country.mmdb:/app/geoip.mmdb:ro - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro env_file: - .env environment: - A2S_BACKEND_URL=http://a2s_server:8082 ports: - 26272:8080 - 8081:8081 command: "-Xmx5120m -Xms256m -verbose:gc -XX:+UseZGC -Dio.netty.allocator.useCacheForAllThreads=false -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8081 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar backend.jar" depends_on: - facti13_web_backend_v2_a2s_server logging: driver: "json-file" options: max-size: "5m" networks: - facti13_services_net deploy: resources: limits: cpus: "4.0" memory: 6144M facti13_web_backend_v2_a2s_server: build: ./a2s_backend container_name: a2s_server restart: always extra_hosts: - "tf2.pblr-nyk.pro:192.168.33.1" logging: driver: "json-file" options: max-size: "5m" networks: - facti13_services_net deploy: resources: limits: cpus: "0.5" memory: 512M facti13_web_backend_v2_docker_client: build: ./docker_client container_name: f13_docker_client restart: always depends_on: - facti13_web_backend_v2 extra_hosts: - "tf2.pblr-nyk.pro:192.168.3.1" logging: driver: "json-file" options: max-size: "5m" networks: - facti13_services_net deploy: resources: limits: cpus: "0.5" memory: 512M environment: - ENDPOINT=https://tf2.pblr-nyk.pro - SECRET_KEY= - DOCKER_URL=unix:///var/run/docker.sock volumes: - /var/run/docker.sock:/var/run/docker.sock:ro networks: facti13_services_net: external: true #docker network create -d bridge --subnet 192.168.0.0/24 facti13_services_net