-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
65 lines (65 loc) · 1.46 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3.7'
services:
proxy:
container_name: proxy
image: nginx
restart: always
ports:
- 0.0.0.0:80:80
- 0.0.0.0:443:443
volumes:
- .volumes/nginx/config:/etc/nginx/conf.d
- .volumes/nginx/auth:/etc/apache2
redis:
container_name: kekBackend-redis
image: redis:6-alpine
restart: always
command: [ "redis-server", "--appendonly", "yes" ]
ports:
- 0.0.0.0:6379:6379
volumes:
- .volumes/redis:/data
postgres:
container_name: kekBackend-postgres
image: postgres:13-alpine
restart: always
environment:
- POSTGRES_USER=kekBackend
- POSTGRES_DB=kek
- POSTGRES_PASSWORD=password
ports:
- 0.0.0.0:5432:5432
volumes:
- .volumes/postgresql:/var/lib/postgresql/data
kekBackend:
container_name: kekBackend
image: kekDAO/kekBackend:latest
restart: always
depends_on:
- redis
- postgres
ports:
- 127.0.0.1:3001:3001
- 127.0.0.1:3000:3000
environment:
- PG_PASSWORD=password
volumes:
- .volumes/kekBackend:/config
kekBackend-test:
container_name: kekBackend-test
image: kekDAO/kekBackend:latest
restart: always
depends_on:
- redis
- postgres
ports:
- 127.0.0.1:3003:3003
- 127.0.0.1:3002:3002
environment:
- PG_PASSWORD=password
volumes:
- .volumes/kekBackend-test:/config
networks:
universe:
external: true
name: universe-network