-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
executable file
·43 lines (40 loc) · 1 KB
/
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
version: '3.5'
services:
ministra_db:
container_name: ministra_db
image: mysql:5.7
restart: always
environment:
- MYSQL_DATABASE=stalker_db
- MYSQL_USER=stalker
- MYSQL_PASSWORD=QRcTrYaxujYewd35
- MYSQL_ROOT_PASSWORD=
- MYSQL_ALLOW_EMPTY_PASSWORD=true
volumes:
- ./data/mysql:/var/lib/mysql
- ./src/db/delta:/tmp/mysql/delta
- ./conf/mysql:/etc/mysql/mysql.conf.d
ministra_php:
container_name: ministra_php
depends_on:
- ministra_db
build:
context: ./src
dockerfile: ./build/Dockerfile
args:
buildno: 1
volumes:
- ./src:/var/www/html/stalker_portal
- ./conf/php/php.ini:/usr/local/etc/php/php.ini
- ./conf/apache2/ports.conf:/etc/apache2/ports.conf
ministra_nginx:
container_name: ministra_nginx
image: nginx:latest
depends_on:
- ministra_php
ports:
- "80:80"
- "443:443"
volumes:
- ./src:/var/www/html
- ./conf/nginx:/etc/nginx/conf.d