forked from cmss13-devs/cmss13
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Firartix
authored and
Nanu308
committed
Nov 13, 2021
1 parent
36793ba
commit 68c2751
Showing
10 changed files
with
206 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
* | ||
!**/*.so | ||
!**/*.dll | ||
!*.rsc | ||
!*.dmb | ||
!maps/* | ||
!config/* | ||
!tools/* | ||
!map_config/* | ||
!nano/* | ||
/.git | ||
/*.txt | ||
/tmp | ||
/data | ||
/cfg | ||
/scripts | ||
/.gitlab | ||
/.vscode | ||
/.gitlab-ci.yml | ||
/tools/dmitool | ||
/tools/runtimes | ||
/local.db* | ||
*.dll | ||
*.exe | ||
*.bat | ||
*.rsc.dyn | ||
*.log | ||
*.lk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ Thumbs.db | |
*.db-wal | ||
data/ | ||
cfg/ | ||
!cfg/.keep | ||
tmp/ | ||
dmdoc/ | ||
tools/Runtime Condenser/Input.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# file to use with the bundled docker-compose environment, drop it as config/dbconfig.txt | ||
|
||
# server adapter | ||
DB_PROVIDER brsql | ||
|
||
# server address | ||
DB_ADDRESS cm13-mysql | ||
|
||
# server port | ||
DB_PORT 3306 | ||
|
||
# server db | ||
DB_DATABASE cm13 | ||
|
||
# server login | ||
DB_USERNAME cm13 | ||
|
||
# server password | ||
DB_PASSWORD cm13testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
version: '3.6' | ||
|
||
services: | ||
# You will probably want to copy config/example/dbconfig_docker.txt to config/dbconfig.txt to use this | ||
cm13-mysql: | ||
image: mysql:8 | ||
command: mysqld --default-authentication-plugin=mysql_native_password | ||
restart: always | ||
ports: | ||
- 3306:3306 | ||
environment: | ||
MYSQL_DATABASE: cm13 | ||
MYSQL_USER: cm13 | ||
MYSQL_PASSWORD: cm13testing | ||
MYSQL_ROOT_PASSWORD: cm13testingroot | ||
volumes: | ||
- cm13-mysql:/var/lib/mysql | ||
networks: | ||
- cm13-net | ||
|
||
cm13-game: | ||
build: | ||
context: . | ||
target: deploy | ||
ports: | ||
- 51400:1400 | ||
volumes: | ||
- type: bind | ||
source: ./cfg | ||
target: /usr/local/byond/cfg | ||
- type: bind | ||
source: ./data | ||
target: /cm/data | ||
- type: bind | ||
source: ./config | ||
target: /cm/config | ||
read_only: true | ||
- type: bind | ||
source: ./map_config | ||
target: /cm/map_config | ||
read_only: true | ||
- type: bind | ||
source: ./maps | ||
target: /cm/maps | ||
read_only: true | ||
networks: | ||
- cm13-net | ||
depends_on: | ||
- cm13-mysql | ||
|
||
volumes: | ||
cm13-mysql: | ||
|
||
networks: | ||
cm13-net: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
source /byond/bin/byondsetup | ||
DreamDaemon application.dmb ${DREAMDAEMON_PORT} -trusted | ||
exec DreamDaemon application.dmb ${DREAMDAEMON_PORT} -trusted |