get-docker-compose
1.1.2 • Public • Published Run this script to generate docker-compose.yml
Generated docker-compose.yml file
services:
client:
container_name: client
build: ./client/
environment:
- PORT=3000
ports:
- 8080:3000
restart: if-failed
server:
container_name: server
build: ./server/
environment:
- PORT=8000
ports:
- 8001:8000
restart: if-failed
networks:
- backend
mongodb:
container_name: mongodb
image: mongo:latest
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
restart: always
networks:
- backend
networks:
backend:
driver: bridge
Package Sidebar
Install
Weekly Downloads