Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

feat(infra): Composer to build a full-stack production environment #1074

Draft
Rohanlogs wants to merge 16 commits into2004Scape:main2004Scape/Server:mainfrom
Rohanlogs:feat/experimental_fullstack_composerRohanlogs/2004Scape-Server:feat/experimental_fullstack_composerCopy head branch name to clipboard
Draft

feat(infra): Composer to build a full-stack production environment #1074
Rohanlogs wants to merge 16 commits into2004Scape:main2004Scape/Server:mainfrom
Rohanlogs:feat/experimental_fullstack_composerRohanlogs/2004Scape-Server:feat/experimental_fullstack_composerCopy head branch name to clipboard

Conversation

@Rohanlogs
Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.