-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
59 lines (53 loc) · 1.25 KB
/
docker-compose-dev.yml
File metadata and controls
59 lines (53 loc) · 1.25 KB
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
version: '3'
# https://github.com/frappe/frappe_docker/blob/develop/devcontainer-example/docker-compose.yml
services:
frappe-bench:
container_name: frappe-bench
image: frappe/bench:latest
command: sleep infinity
volumes:
- ./:/workspace
working_dir: /workspace
ports:
- "8000:8000"
- "8443:8443"
redis-cache:
container_name: redis-cache
image: redis:latest
restart: on-failure
ports:
- "127.0.0.1:6379:6379"
volumes:
- redis-cache-vol:/data
redis-queue:
container_name: redis-queue
image: redis:latest
restart: on-failure
ports:
- "127.0.0.1:6380:6379"
volumes:
- redis-queue-vol:/data
redis-socketio:
container_name: redis-socketio
image: redis:latest
restart: on-failure
ports:
- "127.0.0.1:6381:6379"
volumes:
- redis-socketio-vol:/data
postgresql:
container_name: postgresql
image: postgres:11.8
restart: on-failure
ports:
- "127.0.0.1:5432:5432"
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgresql-vol:/var/lib/postgresql/data
volumes:
postgresql-vol:
redis-cache-vol:
redis-queue-vol:
redis-socketio-vol: