-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
37 lines (36 loc) · 898 Bytes
/
docker-compose.ci.yml
File metadata and controls
37 lines (36 loc) · 898 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
services:
wp:
image: getshifter/shifter_local:latest
platform: linux/arm64
user: root
links:
- mysql
ports:
- 8443:443
volumes:
- "app:/var/www/html/web/wp/wp-content"
environment:
- SERVICE_PORT=8443
# - SERVICE_DOMAIN=127.0.0.1
- RDB_ENDPOINT=mysql:3306
- RDB_USER=shifter
- RDB_PASSWD=pass
- SHIFTER_LOCAL=true
# - SITE_SUBDIR=subdirpath # run /subdirpath
# - SERVICE_TYPE=generator # to simulate generator environment
mysql:
image: mysql:8.0
platform: linux/arm64
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_ALLOW_EMPTY_PASSWORD=true
- MYSQL_USER=shifter
- MYSQL_PASSWORD=pass
- MYSQL_DATABASE=wordpress
volumes:
- "db:/var/lib/mysql"
command:
- --sql-mode=STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
volumes:
app:
db: