forked from nhagemann/anycontent-client-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (33 loc) · 887 Bytes
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
version: '3.8'
services:
anycontent-client-php81:
container_name: anycontent-client-php81
build:
context: ./docker/php81
dockerfile: Dockerfile
#image: anycontent-client-php72:1.0.0
volumes:
#- ./config/php/php.ini:/usr/local/etc/php/php.ini:cached
#- ../../:/application:cached
- ./:/var/www
#environment:
#PHPUNIT_RESTLIKE_URI: http://anycontent-repository-service-php72/1/phpunit
working_dir: /var/www/
networks:
- anycontent
# MySQL database service
anycontent-client-phpunit-mysql:
image: mysql:8.0
container_name: anycontent-client-phpunit-mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "phpunit"
MYSQL_USER: "user"
MYSQL_PASSWORD: "password"
networks:
- anycontent
networks:
anycontent:
driver: "bridge"