-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclimatedata-compose.yaml
35 lines (31 loc) · 1.04 KB
/
climatedata-compose.yaml
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
version: "3.9"
services:
db:
image: registry.gitlab.com/crim.ca/clients/ccdp/docker/db:latest
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: climatedata
MARIADB_USER: climatedata
MARIADB_PASSWORD: climatedata
command: --innodb-buffer-pool-size=128M --innodb-log-buffer-size=64M --innodb-doublewrite=0 --innodb-flush-log-at-trx-commit=0
portal:
depends_on:
- db
image: registry.gitlab.com/crim.ca/clients/ccdp/docker/portal:php74
volumes:
- ./climatedata-wp-theme:/var/www/html/site/assets/themes
ports:
- "443:443"
hostname: dev.climatedata.ca
restart: always
sass:
image: registry.gitlab.com/crim.ca/clients/ccdp/docker/sass:latest
volumes:
- ./climatedata-wp-theme:/climatedata-wp-theme
restart: always
command: sass -w /climatedata-wp-theme/climate-data-ca/resources/scss/child.scss /climatedata-wp-theme/climate-data-ca/resources/css/child.css
volumes:
db_data: {}