No description
Find a file
2025-04-08 18:14:12 -05:00
config-examples Swapped to a template for file where you agree to EULA. Server now runs. 2025-04-08 16:34:53 -05:00
config-templates Swapped to a template for file where you agree to EULA. Server now runs. 2025-04-08 16:34:53 -05:00
.gitignore Reworked to allow mounted config volume. 2025-04-08 17:59:45 -05:00
Dockerfile Reworked to allow mounted config volume. 2025-04-08 17:59:45 -05:00
entrypoint.sh Reworked to allow mounted config volume. 2025-04-08 17:59:45 -05:00
LICENSE Reorganizing and updating. 2025-04-08 11:57:14 -05:00
Makefile Fixing volume mapping to wrong dir. Also added proper README.md with quick start and env var options. 2025-04-08 18:14:12 -05:00
README.md Fixing volume mapping to wrong dir. Also added proper README.md with quick start and env var options. 2025-04-08 18:14:12 -05:00
start.sh Fixing volume mapping to wrong dir. Also added proper README.md with quick start and env var options. 2025-04-08 18:14:12 -05:00

SCP: Secret Laboratory Docker Server

A Docker container for easily running an SCP: Secret Laboratory dedicated server.

Quick Start

Using Docker Compose (Recommended)
  1. Create a docker-compose.yml file:
services:
  scp-sl-server:
    image: greenmatthew/scp-secret-laboratory-server:latest
    container_name: scp-sl-server
    ports:
      - "7777:7777/udp"
    volumes:
      - ./config:/home/steam/.config
    environment:
      - UID=1000
      - GID=1000
    restart: unless-stopped
  1. Start the server:
docker-compose up -d
  1. Check logs:
docker-compose logs -f
Using Docker CLI
  1. Pull the image:
docker pull greenmatthew/scp-secret-laboratory-server:latest
  1. Run the server:
docker run -d \
  --name scp-sl-server \
  -p 7777:7777/udp \
  -v ./config:/home/steam/.config \
  -e UID=1000 \
  -e GID=1000 \
  --restart unless-stopped \
  greenmatthew/scp-secret-laboratory-server:latest
  1. Check logs:
docker logs -f scp-sl-server

Configuration

Mounting the .config directory allows you to configure any server setting and have it persist between container restarts.

Environment Variables

  • UID: User ID to run the server as (default: 1000)
  • GID: Group ID to run the server as (default: 1000)

Port Configuration

The default server port is 7777/UDP. To use a different external port, adjust the port mapping:

In Docker Compose
ports:
  - "8777:7777/udp"  # Maps external port 8777 to internal port 7777
In Docker CLI
-p 8777:7777/udp  # Maps external port 8777 to internal port 7777

Development

A Makefile is included for development:

# For available commands
make help

License

Released under the MIT License. See LICENSE file for details.