-
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 733 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 733 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
services:
server:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "80:80"
- "8080:8080"
- "443:443"
- "17091:17091/udp"
depends_on:
- db
- redis
environment:
- NODE_ENV=development
db:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_USER: growserver
POSTGRES_PASSWORD: ilovereimu
POSTGRES_DB: growserver
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis_data:/var/lib/redis/data
ports:
- "6379:6379"
volumes:
postgres_data:
redis_data: