-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (51 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
53 lines (51 loc) · 1.16 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
version: '3.8'
services:
server:
image: 'registry.gitlab.com/hapi_p/bocachica-backend'
restart: always
environment:
DB_HOST: 'postgres'
DB_USER: $DB_USER
DB_PASSWORD: $DB_PASSWORD
DB_DATABASE: $DB_DATABASE
QUEUE_REDIS_URL: redis://redis:6379
SOLANA_ENDPOINT_URL:
CORS_ORIGINS:
SOLANABEACH_API_URL:
SOLANABEACH_API_KEY:
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.hostname == bocachica]
postgres:
image: 'postgres:13-alpine'
restart: always
environment:
POSTGRES_USER: $DB_USER
POSTGRES_DB: $DB_DATABASE
POSTGRES_PASSWORD: $DB_PASSWORD
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- '5432:5432'
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.hostname == bocachica]
redis:
image: 'redis:6-alpine'
restart: always
volumes:
- redis-data:/data
ports:
- '6379:6379'
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.hostname == bocachica]
volumes:
postgres-data:
redis-data: