Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Conversation

@Rohanlogs
Copy link
Contributor

@Rohanlogs Rohanlogs commented Jan 9, 2025

Context

Currently, there exists a composer yml and a dockerfile in root directory, but they don't serve too much purpose. This PR aims to add setup scripts, that builds a production environment with authentication, and would ideally work both locally and with a domain & HTTPS.

In order to run this locally, this needs to be merged: 2004Scape/Website#7

Description

  • Adds a full-stack docker composer, that builds a production environment
  • Creates database within the container (with phpMyAdmin, or Prisma studio for anyone wanting web interface)
  • Waits for database to build and runs migrations automatically
  • Services:
    • MySQL
    • Migration runner
    • Website
    • Logger
    • Friend
    • Login
    • Server

TODO:

  • Merge #7 and fix website service clone in composer
  • Fix world json generation in composer (needs to be more dynamic)
  • Add either phpMyAdmin service, or Prisma studio
  • Add Linux prod build script (currently only windows .bat exists)
  • Add and configure Nginx service sigh
  • Test on live Ubuntu domain & https
  • Update readme
  • Add instructions for a full-stack dev build (fixes add instructions for full stack setup  #783)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant