1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00
Files
server/docker-compose.yml
Saad Jutt d5024012c4 "feat: added docker containers""
This reverts commit 9e2123cfe9.
2021-11-14 00:55:30 +05:00

35 lines
608 B
YAML

version: '3.4'
services:
server:
image: server
build:
context: .
dockerfile: ./Dockerfile
environment:
NODE_ENV: production
DB_CONNECT: mongodb://mongodb:27017/sasjs
ports:
- 5000:5000
volumes:
- .:/usr/src/app
links:
- mongodb
mongodb:
image: mongo:latest
ports:
- 27017:27017
volumes:
- data:/data/db
mongo-seed-users:
build: ./mongo-seed/users
links:
- mongodb
mongo-seed-clients:
build: ./mongo-seed/clients
links:
- mongodb
volumes:
data: