-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 1005 Bytes
/
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
services:
postgres:
image: postgres:alpine
environment:
POSTGRES_MULTIPLE_DATABASES: database-test,database-identity,database-builder
POSTGRES_PASSWORD: password
POSTGRES_USER: username
ports:
- 5432:5432
restart: on-failure:3
volumes:
- ./docker/utils/create-multiple-databases.sh:/docker-entrypoint-initdb.d/create-multiple-databases.sh
networks:
- shine
redis:
image: redis:latest
command: redis-server
ports:
- 6379:6379
networks:
- shine
shine:
image: gzp79/shine-services:test
profiles:
- test
environment:
- RUST_LOG=info,shine_identity=trace
ports:
- "8080:80"
- "8443:443"
links:
- postgres:postgres.mockbox.com
- redis:redis.mockbox.com
extra_hosts:
- mockbox.com:host-gateway
- local-scytta.com:127.0.0.1
- cloud.local-scytta.com:127.0.0.1
networks:
- shine
networks:
shine:
external: true