-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (46 loc) · 990 Bytes
/
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
version: "3"
services:
data-service:
image: mysql:latest
container_name: mysql_container
environment:
TZ: 'Europe/Berlin'
MYSQL_DATABASE: artweb_db
MYSQL_USER: artwebuser
MYSQL_PASSWORD: tpass
MYSQL_ALLOW_EMPTY_PASSWORD: true
MYSQL_ROOT_PASSWORD: tpass
volumes:
- ./data_source:/docker-entrypoint-initdb.d
networks:
- articulatedlogic
www:
depends_on:
- data-service
container_name: artweb_container
build:
context: ./
dockerfile: ./Dockerfile
volumes:
- /var/www/html/vendor/
- ./:/var/www/html
ports:
- "8080:80"
stdin_open: true
tty: true
networks:
- articulatedlogic
phpmyadmin:
depends_on:
- data-service
image: phpmyadmin/phpmyadmin
ports:
- 8001:80
environment:
- PMA_HOST=data-service
- PMA_PORT=3306
networks:
- articulatedlogic
networks:
articulatedlogic:
driver: bridge