-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
54 lines (52 loc) · 1.17 KB
/
compose.yaml
File metadata and controls
54 lines (52 loc) · 1.17 KB
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
50
51
52
53
54
services:
dev:
container_name: 'texo-dev'
build:
context: .
target: development
dockerfile: ./.dockerfiles/dev.Dockerfile
ports:
- 80:80
depends_on:
- mariadb
environment:
APP_NAME: texo-php
APP_ENV: development
APP_MEMORY_LIMIT: 256M
APP_VERSION: 1.0.0
APP_CHARSET: utf-8
APP_TIMEZONE: Europe/London
APP_LOCALE: 0
APP_BASE_URL: /
APP_STORAGE: /files
SQL_DB: sandbox
SQL_HOST: mariadb
SQL_PORT: 3306
SQL_USER: root
SQL_PASS: root
SQL_CHARSET: utf8mb4
SQL_COLLATE: utf8mb4_unicode_ci
volumes:
- ./:/var/www/html
- ./../files/:/var/www/files
adminer:
container_name: 'texo-adminer'
image: adminer:latest
ports:
- 8000:8080
depends_on:
- mariadb
environment:
ADMINER_DEFAULT_SERVER: mariadb
mariadb:
container_name: 'texo-mariadb'
build:
dockerfile: ./.dockerfiles/mariadb.Dockerfile
image: mariadb:11.4
environment:
MARIADB_ROOT_PASSWORD: root
volumes:
- ./.mariadb/my.cnf:/etc/mysql/my.cnf
- ./db/data:/var/lib/mysql
ports:
- 3306:3306