You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
1.3 KiB

  1. version: '3.7'
  2. services:
  3. mariadb:
  4. image: mariadb
  5. restart: always
  6. ports:
  7. - "3306:3306"
  8. volumes:
  9. - "./Database:/var/lib/mysql"
  10. logging:
  11. driver: none
  12. environment:
  13. MYSQL_INITDB_SKIP_TZINFO: 1
  14. MYSQL_ROOT_PASSWORD: ChangeThisInBothMariaDBAndTgsConnectionString
  15. tgs:
  16. environment:
  17. MYSQL_ROOT_PASSWORD: ChangeThisInBothMariaDBAndTgsConnectionString
  18. Database__ConnectionString: "Password=ChangeThisInBothMariaDBAndTgsConnectionString;Server=mariadb;User Id=root;Database=tgs4"
  19. TGS_ADMIN_CKEY: <YOUR BYOND USERNAME HERE>
  20. TGS_PREFIXED_SCHEMA_FILE: SQL/tgstation_schema_prefixed.sql
  21. TGS_SCHEMA_MAJOR_VERSION: 5
  22. TGS_SCHEMA_MINOR_VERSION: 9
  23. cap_add:
  24. - SYS_NICE
  25. image: "tgstation/server:latest"
  26. depends_on:
  27. - mariadb
  28. ports:
  29. - "1337:1337"
  30. - "5000:80"
  31. restart: always
  32. init: true
  33. volumes:
  34. - "./TGS_Logs:/tgs_logs"
  35. - "./TGS_Config:/config_data"
  36. - "./TGS_Instances:/tgs4_instances"
  37. logging:
  38. driver: none
  39. setup:
  40. environment:
  41. TGS_BYOND: 513.1514
  42. TGS_REPO: https://github.com/tgstation/tgstation
  43. build:
  44. context: ./SetupProgram
  45. dockerfile: Dockerfile
  46. depends_on:
  47. - tgs
  48. - mariadb
  49. restart: "no"