-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
35 lines (31 loc) · 1.36 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: "3.9"
services:
ofsv:
# This is the image that the container will use to run the server. The
# string after the colon is the tag, which can be either `latest` or
# `latest-sm`. The first tag is a basic Open Fortress server with no extra
# plugins or maps installed. The second tag installs SourceMod with all the
# necessary components to work with Open Fortress, used for running plugins
# like RTV.
image: notquiteapex/ofsv:latest
stdin_open: true
tty: true
# These are volumes for accessing specific aspects of your server, such as
# the config folder, the custom folder, and the sourcemod folder. These
# volumes are accessible in /var/lib/docker/volumes on Linux, and you can
# edit your files so long as you have root permissions (sudo).
volumes:
- of_cfg:/root/.steam/ofsv/sdk/open_fortress/cfg
- of_custom:/root/.steam/ofsv/sdk/open_fortress/custom
- of_addons:/root/.steam/ofsv/sdk/open_fortress/addons
# These are the ports necessary for server operation. These allow the
# container to communicate with the host computer through these ports. You
# will still need to forward the ports yourself. Do not edit these unless
# you absolutely know what you're doing.
ports:
- "27015:27015/tcp"
- "27015:27015/udp"
volumes:
of_cfg:
of_custom:
of_addons: