mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 07:48:55 +00:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
version: '3.7'
|
|
services:
|
|
mariadb:
|
|
image: mariadb
|
|
restart: always
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- "./Database:/var/lib/mysql"
|
|
logging:
|
|
driver: none
|
|
environment:
|
|
MYSQL_INITDB_SKIP_TZINFO: 1
|
|
MYSQL_ROOT_PASSWORD: ChangeThisInBothMariaDBAndTgsConnectionString
|
|
tgs:
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ChangeThisInBothMariaDBAndTgsConnectionString
|
|
Database__ConnectionString: "Password=ChangeThisInBothMariaDBAndTgsConnectionString;Server=mariadb;User Id=root;Database=tgs4"
|
|
TGS_ADMIN_CKEY: <YOUR BYOND USERNAME HERE>
|
|
TGS_PREFIXED_SCHEMA_FILE: SQL/tgstation_schema_prefixed.sql
|
|
TGS_SCHEMA_MAJOR_VERSION: 5
|
|
TGS_SCHEMA_MINOR_VERSION: 9
|
|
cap_add:
|
|
- SYS_NICE
|
|
image: "tgstation/server:latest"
|
|
depends_on:
|
|
- mariadb
|
|
ports:
|
|
- "1337:1337"
|
|
- "5000:80"
|
|
restart: always
|
|
init: true
|
|
volumes:
|
|
- "./TGS_Logs:/tgs_logs"
|
|
- "./TGS_Config:/config_data"
|
|
- "./TGS_Instances:/tgs4_instances"
|
|
logging:
|
|
driver: none
|
|
setup:
|
|
environment:
|
|
TGS_BYOND: 515.1634
|
|
TGS_REPO: https://github.com/tgstation/tgstation
|
|
build:
|
|
context: ./SetupProgram
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- tgs
|
|
- mariadb
|
|
restart: "no"
|