generated from fossapps/Micro.Starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.ci.yml
41 lines (41 loc) · 995 Bytes
/
docker-compose.ci.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
version: '3'
services:
api:
image: fossapps/micro.auth:${TAG}
ports:
- 5000:5000
depends_on:
- postgres
- key_store
environment:
- ASPNETCORE_ENVIRONMENT=ci
- ASPNETCORE_URLS=http://+:5000
- DatabaseConfig__AutoMigrate=true
postgres:
image: postgres:11-alpine
ports:
- 15433:5432
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=starter
- POSTGRES_DB=starter_db
key_store:
image: fossapps/micro.keystore:1.6.0
ports:
- 15000:15000
environment:
- ASPNETCORE_URLS=http://+:15000
- DatabaseConfig__AutoMigrate=true
depends_on:
- postgres
volumes:
- ./.docker-configs/keystore/appsettings.json:/app/appsettings.json
influxdb:
image: influxdb
environment:
- INFLUXDB_ADMIN_USER=cyberhck
- INFLUXDB_ADMIN_PASSWORD=secret
- INFLUXDB_DB=monitoring
ports:
- 8086:8086 # http api
- 8083:8083 # admin interface