-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·56 lines (54 loc) · 1.73 KB
/
docker-compose.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
version: '2'
services:
web:
image: fpfis/httpd-php:8.1-dev
working_dir: ${PWD}
ports:
- 8080:8080
volumes:
- ${PWD}:${PWD} # Non Mac users.
# - nfsmount:${PWD} # Mac Users with the nfsmount volume.
environment:
DOCUMENT_ROOT: ${PWD}
# ASDA CREDENTIALS
# By leaving these variables empty Docker Compose will set them to their host values.
ASDA_USER:
ASDA_PASSWORD:
GITHUB_API_TOKEN:
GITLAB_API_TOKEN:
QA_API_BASIC_AUTH:
QA_WEBSITE_URL:
QA_WEBSITE_TOKEN:
ENV: "development"
# XDEBUG CONFIGURATION
XDEBUG_CONFIG: remote_host=host.docker.internal remote_port=9003 remote_enable=1
PHP_IDE_CONFIG: "serverName=Docker"
# For Xdebug setup, run this command in the terminal:
# For Mac users: sudo ifconfig en0 alias 10.254.254.254 255.255.255.0
# For Linux users: sudo ip addr add 10.254.254.254/32 dev lo label lo:1
env_file:
- .env
mysql:
image: percona/percona-server:5.7
command: --innodb-log-file_size=2G --max-allowed-packet=1G --innodb-buffer-pool-size=512M --wait-timeout=31536000
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
volumes:
- mysql:/var/lib/mysql
sparql:
image: openeuropa/triple-store-dev
environment:
- SPARQL_UPDATE=true
- DBA_PASSWORD=dba
ports:
- "8890:8890"
volumes:
mysql:
# Mac users: uncomment the "nfsmount" key to enable the NFS file sharing.
# @see https://github.com/openeuropa/documentation/blob/master/docs/development/tooling.md#using-docker-on-macos
# nfsmount:
# driver: local
# driver_opts:
# type: nfs
# o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3
# device: ":${PWD}/"