-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (34 loc) · 641 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (34 loc) · 641 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
34
version: '3'
services:
nginx:
build: ./nginx
volumes:
- ./website/bedrock:/var/www/html
ports:
- '8080:80'
depends_on:
- php
- mariadb
php:
build: ./website
env_file: ./website/env/.env.dev
volumes:
- ./website/bedrock:/var/www/html
mariadb:
image: mariadb
restart: always
environment:
MARIADB_ROOT_PASSWORD: mariadb
MARIADB_DATABASE: mariadb
MARIADB_USER: mariadb
volumes:
- ./data:/var/lib/mysql
ports:
- 3307:3307
adminer:
image: adminer
restart: always
ports:
- 8000:8080
depends_on:
- mariadb