This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
86 lines (77 loc) · 2.37 KB
/
docker-compose.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.5'
services:
portal-db:
image: postgres:9.6-alpine
container_name: portal-db
environment:
POSTGRES_USER: do_portal
POSTGRES_PASSWORD: do_portal
POSTGRES_DB: do_portal
volumes:
- portal_db_data:/var/lib/postgresql/data
- ./docker_initdb.sh:/docker-entrypoint-initdb.d/docker_initdb.sh
portal-backend:
container_name: portal-backend
build: ./backend
environment:
- VIRTUAL_HOST=portal-backend
depends_on:
- portal-db
volumes:
- type: bind
source: ./backend
target: /home/cert/do-portal/
portal-frontend:
container_name: portal-frontend
build: ./frontend
environment:
- VIRTUAL_HOST=portal-frontend
depends_on:
- portal-backend
volumes:
- type: bind
source: ./frontend
target: /home/cert/customer-portal/
epplication-db:
image: postgres:9.6-alpine
container_name: epplication-db
environment:
POSTGRES_USER: epplication
POSTGRES_PASSWORD: epplication
POSTGRES_DB: epplication
volumes:
- epplication_db_data:/var/lib/postgresql/data
epplication-selenium:
image: selenium/standalone-firefox-debug
container_name: epplication-selenium
volumes:
- /dev/shm:/dev/shm
ports:
- "5900:5900"
epplication-app:
container_name: epplication-app
image: davewood/epplication:latest
depends_on:
- epplication-db
- epplication-selenium
volumes:
- epplication_app_data_job_exports:/home/epplication/EPPlication/root/job_exports
- epplication_app_data_ssh_keys:/home/epplication/EPPlication/ssh_keys
environment:
- VIRTUAL_HOST=epplication-app
proxy:
container_name: proxy
image: jwilder/nginx-proxy
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
ports:
- "8081:80"
depends_on:
- epplication-app
- portal-frontend
- portal-backend
volumes:
portal_db_data:
epplication_db_data:
epplication_app_data_job_exports:
epplication_app_data_ssh_keys: