-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
44 lines (40 loc) · 1.04 KB
/
docker-compose.yaml
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.7"
services:
jobeet-apache:
container_name: php-apache
build:
context: ./docker/apache
dockerfile: Dockerfile
working_dir: /var/www/jobeet
depends_on:
- jobeet-db
restart: always
volumes:
- ./docker/apache/welante.conf:/etc/apache2/sites-available/000-default.conf
- .:/var/www/jobeet
ports:
- 8000:80
jobeet-phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 8081:80
restart: always
environment:
PMA_HOST: jobeet-db
depends_on:
- jobeet-db
jobeet-db:
container_name: jobeet-db
image: mariadb:10.1.46
restart: always
environment:
MYSQL_USER: jobeet
MYSQL_PASSWORD: jobeet
MYSQL_DATABASE: jobeet
MYSQL_ROOT_PASSWORD: jobeet+pw
volumes:
- jobeet-db-data:/var/lib/mysql
ports:
- 8002:3306
volumes:
jobeet-db-data: