services: facti13_web_backend_v2: build: . container_name: backend restart: always extra_hosts: - "tf2.pblr-nyk.pro:192.168.3.3" volumes: - $PWD/servers.json:/app/servers.json:ro - $PWD/GeoLite2-Country.mmdb:/app/geoip.mmdb:ro env_file: - .env environment: - A2S_BACKEND_URL=http://a2s_server:8082 ports: - 26272:8080 - 8081:8081 command: "-Xmx2048m -Xms128m -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 facti13_web_backend_v2_a2s_server: build: ./ext/python-a2s-rcon-api container_name: a2s_server restart: always extra_hosts: - "tf2.pblr-nyk.pro:192.168.3.3"