christmas/docker-compose.debug.yml
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

12 lines
No EOL
230 B
YAML

version: '2.1'
services:
christmas-community:
image: christmas-community
build: .
environment:
NODE_ENV: development
ports:
- 80:80
- 9229:9229
command: node --inspect=0.0.0.0:9229 index.js