-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmc-dev.dockerapp
More file actions
69 lines (64 loc) · 1.77 KB
/
mc-dev.dockerapp
File metadata and controls
69 lines (64 loc) · 1.77 KB
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
# This section contains your application metadata.
# Version of the application
version: "3.2"
# Name of the application
name: mc
# A short description of the application
description: "Micro Focus Mobile Center for the Nimbus ADM Demo Platform"
# Namespace to use when pushing to a registry. This is typically your Hub username.
namespace: "admpresales"
# List of application maitainers with name and email for each
maintainers:
- name: Jason Hrabi
email: jason.hrabi@microfocus.com
# Specify false here if your application doesn't support Swarm or Kubernetes
targets:
swarm: false
kubernetes: false
---
# This section contains the Compose file that describes your application services.
version: '3.5'
services:
mc:
image: "${MC_IMAGE}:${MC_TAG}"
ports:
- "${MC_PORT}:${MC_INTERNAL_PORT}"
environment:
- POSTGRES_HOST=mc-db
- POSTGRES_PORT=5432
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=Password1
- FQDN=nimbusserver.aos.com
container_name: ${MC_CONTAINER_NAME}
hostname: nimbusserver.aos.com
volumes:
- mc_data:/opt/mc/mcStorage
networks:
demo-net:
extra_hosts:
- "nimbusserver.aos.com:172.50.0.1"
- "nimbusserver:172.50.0.1"
mc-db:
image: postgres:${POSTGRES_TAG}
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=Password1
container_name: mc-db
networks:
demo-net:
extra_hosts:
- "nimbusserver.aos.com:172.50.0.1"
- "nimbusserver:172.50.0.1"
networks:
demo-net:
external: true
volumes:
mc_data:
---
# This section contains the default values for your application settings.
MC_CONTAINER_NAME: mc
MC_IMAGE: mobilelifecycle/mobilecenter
MC_TAG: '3.20'
MC_PORT: 8080
MC_INTERNAL_PORT: 8080
POSTGRES_TAG: 9.6