-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml
70 lines (62 loc) · 1.17 KB
/
docker-compose.override.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
66
67
68
69
70
version: "3"
services:
api:
build:
context: ./app/api
dockerfile: Dockerfile.dev
volumes:
- ${API_SRC}:/home/siplah/web
ports:
- ${API_PORT}:80
depends_on:
- db
- cache
admin:
image: tokoladang/siplah:laravel0.2
volumes:
- ${ADMIN_SRC}:/home/siplah/web
ports:
- ${ADMIN_PORT}:80
depends_on:
- db
- cache
app:
image: node:12-alpine
user: "node"
working_dir: /home/node/app
environment:
- NODE_ENV=development
volumes:
- ${APP_SRC}:/home/node/app
expose:
- "4200"
command: "npm start"
ports:
- ${APP_PORT}:4200
depends_on:
- api
adminer:
image: adminer
ports:
- ${ADMINER_PORT}:8080
depends_on:
- db
cacheadmin:
image: erikdubbelboer/phpredisadmin
environment:
- ADMIN_USER=${REDIS_ADMIN_USER}
- ADMIN_PASS=${REDIS_ADMIN_PASS}
- REDIS_1_HOST=cache
- REDIS_1_PORT=6379
ports:
- ${REDIS_ADMIN_PORT}:80
depends_on:
- cache
db:
volumes:
- ./database:/initdb
ports:
- ${DB_PORT}:5432
cache:
ports:
- ${REDIS_PORT}:6379