-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (44 loc) · 1020 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
45
46
47
48
49
version: '3.8'
services:
yarn:
image: node:16.13
working_dir: /workspace
volumes:
- ./:/workspace
entrypoint: yarn
wordpress:
image: atlantislab/misik-wp
ports:
- 8080:80
volumes:
- ./wp-content/themes:/var/www/html/wp-content/themes/
- wordpress:/var/www/html
- ./.ignore/upload.ini:/usr/local/etc/php/conf.d/upload.ini
- ./.ignore/wp-content/uploads/:/var/www/html/wp-content/uploads/
depends_on:
- db
db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db:/var/lib/mysql
landing:
image: node:16.13
working_dir: /workspace
volumes:
- ./:/workspace
entrypoint: yarn workspace @landing/app dev
environment:
- WP_ENDPOINT=https://wp.misik.pro/graphql
ports:
- 3000:3000
env_file:
- ./.env
volumes:
wordpress:
db: