Commit graph

3 commits

Author SHA1 Message Date
Wingy
0d7d73744c
Refactor: move src to folder (#63)
* move all source code to src/

* replace express response patch with middleware

* fix readdir not looking in src

* fix stray redirect

* add base to manifest

* remove secret.txt from src/config/secret

* add src/config/secret/secret.txt to gitignore
2022-12-10 12:04:07 -05:00
Coal
e5330d678f
Expose port 80 for the christmas-community service (#32)
* Expose port 80 for the christmas-community service

If the app is ran with docker-compose, the express server (port 80) should be open as well

* Change default ports to 3000 and 8080 for Express and DB respectively

Also modified the initial config to include a default DB port if not provided in the env

* Forward only port 80 and don't expose database by default in the config file

Database is still being exposed through the Dockerfile, as it already was

* Restore formatting for config/index.js
2022-10-07 15:18:06 -04:00
Wingysam
22b536454b Dockerize 2018-12-01 10:44:26 -05:00