Closed matthewh86 closed 6 years ago
ip="192.168.1.150 maxplayers="24"
fn_parms(){ parms="-game cstrike -strictportbind -ip 0.0.0.0 -port ${port} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers} +sv_lan 1 -nohltv" }
- linuxgsm:latest is a locally created docker image with jq dependency included - #2 - Using the following docker-compose.yml
version: '2'
services: linuxgsm-css: image: linuxgsm:latest container_name: linuxgsm-css networks: enp1s0f0_vlan: ipv4_address: 192.168.1.150 volumes:
networks: enp1s0f0_vlan: driver: macvlan driver_opts: parent: enp1s0f0 ipam: config:
volumes: linuxgsm_css_vol: driver_opts: type: none device: /srv/quickload/docker-volumes/linuxgsm/css-server o: bind
Turns out this was Windows networking interfering! Had to disable one of my network adapters on the client (in this case it was a VirtualBox adapter) to get it working.
fn_parms(){ parms="-game cstrike -strictportbind -ip 0.0.0.0 -port ${port} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers} +sv_lan 1 -nohltv" }
version: '2'
services: linuxgsm-css: image: linuxgsm:latest container_name: linuxgsm-css networks: enp1s0f0_vlan: ipv4_address: 192.168.1.150 volumes:
networks: enp1s0f0_vlan: driver: macvlan driver_opts: parent: enp1s0f0 ipam: config:
volumes: linuxgsm_css_vol: driver_opts: type: none device: /srv/quickload/docker-volumes/linuxgsm/css-server o: bind