-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (40 loc) · 822 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (40 loc) · 822 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
35
36
37
38
39
40
41
42
43
44
45
version: '2'
services:
mariadb:
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- mariadb_data:/bitnami/mariadb
wordpress:
image: bitnami/wordpress:latest
depends_on:
- mariadb
ports:
- "8000:80"
- '443:443'
volumes:
- wordpress_data:/bitnami/wordpress
- apache_data:/bitnami/apache
- php_data:/bitnami/php
frontend:
build: ./frontend
depends_on:
- mariadb
- wordpress
command: node_modules/.bin/nodemon index.js
environment:
NODE_ENV: development
ports:
- '3001:3001'
volumes:
- ./frontend:/usr/src/app:ro
volumes:
mariadb_data:
driver: local
wordpress_data:
driver: local
apache_data:
driver: local
php_data:
driver: local