generated from well-known-components/template-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (45 loc) · 1.15 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
services:
postgres:
image: postgres:latest
container_name: postgres-local
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: social_service_ea
ports:
- '5432:5432'
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
image: redis:latest
container_name: redis-local
ports:
- '6379:6379'
nats:
image: nats:latest
container_name: nats-local
ports:
- '4222:4222'
app:
image: social-service-ea:local
build:
context: .
dockerfile: Dockerfile
environment:
PG_COMPONENT_PSQL_CONNECTION_STRING: 'postgresql://postgres:postgres@postgres:5432/social_service_ea'
REDIS_HOST: 'redis'
NATS_URL: 'nats://nats:4222'
ARCHIPELAGO_STATS_URL: 'http://archipelago-ea-stats.decentraland.zone'
PROFILE_IMAGES_URL: 'https://profile-images.decentraland.zone'
CATALYST_URL: 'https://peer.decentraland.zone'
PEER_SYNC_INTERVAL_MS: '45000'
PEERS_SYNC_CACHE_TTL_MS: '90000'
ports:
- '3000:3000'
- '8085:8085'
depends_on:
- postgres
- redis
- nats
volumes:
postgres-data: