-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (42 loc) · 946 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
version: "3"
services:
https-portal:
image: steveltn/https-portal:1
container_name: https-container
ports:
- '443:443'
environment:
DOMAINS: 'localhost -> http://web:80'
STAGE: local
web:
container_name: web-container
build:
context: ./Docker/php/
dockerfile: Dockerfile
volumes:
- .:/app
- ./Docker/php/php.ini:/etc/php.ini
- ./Docker/httpd/my-vhost.conf:/etc/httpd/conf.d/my-vhost.conf
ports:
- 80:80
db:
image: mariadb:10.2
container_name: db-container
environment:
- MYSQL_ROOT_PASSWORD=password
volumes:
- ./Docker/mariadb/init:/docker-entrypoint-initdb.d
phpmyadmin:
image: phpmyadmin
container_name: pma-container
environment:
- PMA_ARBITRARY=1
- PMA_HOST=db
- PMA_USER=root
- PMA_PASSWORD=password
links:
- db
ports:
- 8080:80
volumes:
- /sessions