-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (39 loc) · 793 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (39 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3'
services:
engine:
build:
context: ./src
dockerfile: ../Dockerfile
image: omvc-engine-developer
auth-example:
image: omvc-engine-developer
ports:
- 5002:5000
links:
- postgresql:db
volumes:
- ./examples/auth/src:/app
jobs-example:
image: omvc-engine-developer
ports:
- 5003:5000
links:
- postgresql:db
volumes:
- ./examples/backgroundjobs/src:/app
infobase-example:
image: omvc-engine-developer
ports:
- 5003:5000
links:
- postgresql:db
volumes:
- ./examples/infobase/src:/app
postgresql:
restart: always
image: sameersbn/postgresql:9.6-2
environment:
- DB_USER=onecuser
- DB_PASS=anotherpass
- DB_NAME=auth,jobs
- DB_EXTENSION=pg_trgm