-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-aws-ecs-ec2.yml
executable file
·80 lines (80 loc) · 1.86 KB
/
docker-compose-aws-ecs-ec2.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
version: '3.0'
services:
proxy:
image: 'apexapiproxy/apex-proxy:1.0.1'
ports:
- '1989:1989'
environment:
- REDIS_HOST=localhost
- REDIS_PORT=6379
- PGHOST=localhost
- PGUSER=postgres
- PGDATABASE=postgres
- PGPASSWORD=password
- PGPORT=5432
- HTTPS_PORT=443
- PORT=1989
logging:
driver: awslogs
options:
awslogs-group: apex
awslogs-region: us-east-2
awslogs-stream-prefix: proxy
config-store:
image: 'apexapiproxy/apex-config-store:1.0'
volumes:
- '/data'
logging:
driver: awslogs
options:
awslogs-group: apex
awslogs-region: us-east-2
awslogs-stream-prefix: config-store
logs-db:
image: 'apexapiproxy/apex-logs-db:1.0'
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=postgres
volumes:
- '/var/lib/postgresql/data'
logging:
driver: awslogs
options:
awslogs-group: apex
awslogs-region: us-east-2
awslogs-stream-prefix: logs-db
admin-api:
image: 'apexapiproxy/apex-base:1.0.1'
ports:
- '1990:1990'
environment:
- REDIS_IP=localhost
- REDIS_PORT=6379
- PORT=1990
- HTTPS=true
- PGHOST=localhost
- PGUSER=postgres
- PGDATABASE=postgres
- PGPASSWORD=password
- PGPORT=5432
logging:
driver: awslogs
options:
awslogs-group: apex
awslogs-region: us-east-2
awslogs-stream-prefix: admin-api
admin-ui:
image: 'apexapiproxy/apex-peak:1.0.1'
ports:
- '1991:1991'
environment:
- SKIP_PREFLIGHT_CHECK=true
volumes:
- '/app/node_modules'
logging:
driver: awslogs
options:
awslogs-group: apex
awslogs-region: us-east-2
awslogs-stream-prefix: admin-ui