forked from crackedstudio/tikka
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (44 loc) · 953 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (44 loc) · 953 Bytes
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
version: '3.8'
services:
backend:
build:
context: .
dockerfile: Dockerfile
ports:
- "3001:3001"
environment:
- PORT=3001
- NODE_ENV=development
- SUPABASE_URL=http://postgres:5432
- SUPABASE_SERVICE_ROLE_KEY=dev-key
- JWT_SECRET=dev-secret-at-least-32-chars-long-here
- ADMIN_TOKEN=dev-admin-token
- INDEXER_URL=http://indexer:3002
depends_on:
- postgres
- redis
networks:
- tikka-network
postgres:
image: postgres:15-alpine
environment:
- POSTGRES_USER=tikka
- POSTGRES_PASSWORD=tikka-pass
- POSTGRES_DB=tikka_backend
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- tikka-network
redis:
image: redis:7-alpine
ports:
- "6379:6379"
networks:
- tikka-network
networks:
tikka-network:
driver: bridge
volumes:
postgres-data: