-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
47 lines (44 loc) · 835 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
47 lines (44 loc) · 835 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
version: "2.1"
services:
app:
build: ./app
restart: always
depends_on:
- server
volumes:
- .:/hypeset-frontend/
ports:
- "8888:8888"
server:
build: ./server
restart: always
volumes:
- .:/hypeset-backend/
env_file:
- ./server/.env
links:
- postgres:postgres
- redis:redis
depends_on:
- postgres
- redis
ports:
- "8000:8000"
postgres:
image: postgres:latest
restart: always
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=hypeset
volumes:
- ./data/postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:latest
restart: always
volumes:
- ./data/redis:/var/lib/redisql/data
ports:
- "6379:6379"