-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.linux.yml
45 lines (42 loc) · 1.23 KB
/
docker-compose.linux.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
version: '3'
services:
web:
image: uofa/apache2-php7-dev:foundation
# This makes the container run on the same network stack as your
# workstation. Meaning that you can interact on "localhost".
network_mode: host
environment:
SITE_TITLE: WCMS D8
SITE_MAIL: site@example.com
SITE_ADMIN_EMAIL: admin@example.com
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=127.0.0.1"
PHP_IDE_CONFIG: serverName=localhost
volumes:
- .:/code
- ./shared:/shared
- $HOME/.ssh/id_rsa:/root/.ssh/id_rsa
db:
image: mariadb
network_mode: host
environment:
MYSQL_DATABASE: drupal
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: super-secret-password
mail:
image: mailhog/mailhog
network_mode: host
redis:
image: redis:alpine
network_mode: host