-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.linux.yml
More file actions
50 lines (50 loc) · 994 Bytes
/
Copy pathdocker-compose.linux.yml
File metadata and controls
50 lines (50 loc) · 994 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
50
version: '3'
services:
kite-api:
depends_on:
- kite-mongo
- kite-redis
build: ./kite-api
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/app/kite/public-html/:/app/public/"
networks:
kite:
aliases:
- kiteapi
kite-private:
kite-nginx:
depends_on:
- kite-api
build: ./kite-nginx
# volumes:
# - "${KITE_SSLCERT}:/etc/nginx/cert.crt"
# - "${KITE_SSLKEY}:/etc/nginx/key.key"
ports:
- "443:443"
- "80:80"
networks:
kite:
aliases:
- kitenginx
kite-redis:
build: ./kite-redis
sysctls:
net.core.somaxconn: 1024
networks:
kite-private:
aliases:
- kiteredis
kite-mongo:
environment:
MONGO_INITDB_DATABASE: kite
build: ./kite-mongo
networks:
kite-private:
aliases:
- kitemongo
networks:
kite:
driver: bridge
kite-private:
driver: bridge