mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/node-tutorial.git
synced 2026-08-19 20:44:16 +00:00
init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
server:
|
||||
image: node:7
|
||||
command: npm run start:dev
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- .:/app
|
||||
environment:
|
||||
PORT: 3000
|
||||
CONNECTION_STRING_DEV: postgres://user:password@db/db
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "5858:5858"
|
||||
links:
|
||||
- db
|
||||
db:
|
||||
image: postgres
|
||||
expose:
|
||||
- 5432
|
||||
environment:
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_USER: user
|
||||
POSTGRES_DB: db
|
||||
Reference in New Issue
Block a user