-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
executable file
·45 lines (41 loc) · 1.07 KB
/
docker-compose.ci.yml
File metadata and controls
executable file
·45 lines (41 loc) · 1.07 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
# N.B. this docker-compose file is only designed for use in development,
# testing and building. For production use, see the interop-release-config
# repository (TODO)
version: '3.7'
x-php-defaults: &php-defaults
services:
app:
image: gsmainclusivetechlab/interop-test-platform:latest
build:
context: src
dockerfile: $PWD/Dockerfiles/production.Dockerfile
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
env_file: service.env
depends_on:
- mysqldb
environment:
CONTAINER_ROLE: app
PROJECT_DOMAIN: www.example.com
HTTPS_SSL_CERT: selfsigned
WAIT_HOSTS: mysqldb:3306
WAIT_SLEEP_INTERVAL: 5
WAIT_HOSTS_TIMEOUT: 100
QUEUE_CONNECTION: sync
mysqldb:
image: gsmainclusivetechlab/interop-test-platform/mysqldb:latest
build:
context: mysqldb
env_file: service.env
healthcheck:
test: ['CMD', 'mysqladmin', 'ping', '-h', 'localhost']
timeout: 20s
retries: 10
volumes:
- mysqldata:/var/lib/mysql
volumes:
mysqldata:
redisdata:
storage: