-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml.standalone.osx.dist
57 lines (52 loc) · 1.45 KB
/
docker-compose.yml.standalone.osx.dist
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
version: "3"
services:
app:
container_name: campr_app
build: config/docker/app
links:
- mysql
- redis
- mailcatcher
volumes:
- campr-app:/app:cached
- campr-app-vendor-sync:/app/backend/vendor:nocopy
- ~/.ssh:/root/.ssh
- /app/frontend/node_modules
- /app/ssr/node_modules
- ./config/supervisor/docker_dev.conf:/etc/supervisor/conf.d/docker_dev.conf
shm_size: 1g
ports:
- "80:80"
env_file: config/docker/.env
extra_hosts:
- "portal:127.0.0.1"
- "workspaces:127.0.0.1"
mailcatcher:
container_name: campr_mailcatcher
image: schickling/mailcatcher
ports:
- "1025:1025"
- "1080:1080"
env_file: config/docker/.env
mysql:
image: mysql:5.7
volumes:
- campr-data:/var/lib/mysql
- ./config/docker/mysql/docker.cnf:/etc/mysql/conf.d/docker.cnf
ports:
- "3306:3306"
env_file: config/docker/.env
redis:
container_name: campr_redis
image: redis
env_file: config/docker/.env
volumes:
campr-app:
driver: local
driver_opts:
type: nfs
o: addr=host.docker.internal,rw,nolock,hard,nointr,noacl,nodiratime,async,noatime,actimeo=10,nfsvers=3
device: ":/path/to/your/project"
campr-app-vendor-sync:
external: true
campr-data: