mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
36 lines
808 B
YAML
36 lines
808 B
YAML
services:
|
|
server:
|
|
platform: linux/amd64
|
|
build:
|
|
context: .
|
|
target: server
|
|
command:
|
|
- --port=7777
|
|
- --min-players=2
|
|
- --start-countdown=0
|
|
- --match-length=1
|
|
- --max-matches=2
|
|
- --slot-reservation-seconds=0
|
|
- --smoke-force-goal-after=0
|
|
- --log-level=debug
|
|
ports:
|
|
- "7777:7777/udp"
|
|
|
|
client-one:
|
|
platform: linux/amd64
|
|
build:
|
|
context: .
|
|
target: smoke-client
|
|
depends_on:
|
|
- server
|
|
command: ["--address=server", "--port=7777", "--name=ExportSmokeOne", "--expected-goals=2"]
|
|
|
|
client-two:
|
|
platform: linux/amd64
|
|
build:
|
|
context: .
|
|
target: smoke-client
|
|
depends_on:
|
|
- server
|
|
command: ["--address=server", "--port=7777", "--name=ExportSmokeTwo", "--expected-goals=2"]
|