-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.osx.yml
63 lines (58 loc) · 1.64 KB
/
docker-compose.osx.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
version: '3'
services:
web:
image: uofa/apache2-php7-dev:foundation
# You will notice that we are forwarding port which do not belong to PHP.
# We have to declare them here because these "sidecar" services are sharing
# THIS containers network stack.
ports:
- "80:80"
- "3306:3306"
- "8025:8025"
environment:
SITE_TITLE: WCMS D8
SITE_MAIL: [email protected]
SITE_ADMIN_EMAIL: [email protected]
SITE_ADMIN_USERNAME: admin
SITE_ADMIN_PASSWORD: password
PUBLIC_DIR: /shared/public
HASH_SALT: random-hash
CONFIG_SYNC_DIRECTORY: /shared/private/random-hash/sync
SHEPHERD_SITE_ID: 2
SHEPHERD_URL: http://shepherd.test
SHEPHERD_TOKEN: super-secret-token
SHEPHERD_INSTALL_PROFILE: demo_umami
REDIS_ENABLED: 0
SHEPHERD_SECRET_PATH: /code/private
XDEBUG_CONFIG: "remote_host=docker.for.mac.localhost"
PHP_IDE_CONFIG: serverName=localhost
volumes:
- nfsmount:/code
- ./shared:/shared
- $HOME/.ssh/id_rsa:/root/.ssh/id_rsa
xdebug:
image: nickschuch/d4m-tcp-forwarder
network_mode: host
environment:
- PORT=9000
db:
image: mariadb
network_mode: service:web
environment:
MYSQL_DATABASE: drupal
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: super-secret-password
mail:
image: mailhog/mailhog
network_mode: service:web
redis:
image: redis:alpine
network_mode: service:web
volumes:
nfsmount:
driver: local
driver_opts:
type: nfs
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3
device: ":${PWD}"