-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yml
More file actions
38 lines (36 loc) · 1.23 KB
/
compose.yml
File metadata and controls
38 lines (36 loc) · 1.23 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
services:
phorge:
image: 'dynamist/phorge'
build:
context: .
dockerfile: ./Dockerfile.phorge
environment:
- PHORGE_URL=${PHORGE_URL:-http://phorge.domain.tld}
- PHORGE_CDN_URL=${PHORGE_CDN_URL:-http://cdn.domain.tld}
- PHORGE_TITLE=${PHORGE_TITLE:-RMI}
- PHORGE_ADMIN_USER=${PHORGE_ADMIN_USER:-admin}
- PHORGE_ADMIN_EMAIL=${PHORGE_ADMIN_EMAIL:-admin@domain.tld}
- PHORGE_ADMIN_NAME=${PHORGE_ADMIN_NAME:-Administrator}
- PHORGE_ADMIN_PASS=${PHORGE_ADMIN_PASS:-supersecr3tpassw0rdfordevelop1}
- PHORGE_ADMIN_TOKEN=${PHORGE_ADMIN_TOKEN:-api-supersecr3tapikeyfordevelop1}
- PHORGE_GIT_REF=${PHORGE_GIT_REF:-stable}
- ARCANIST_GIT_REF=${ARCANIST_GIT_REF:-stable}
- MYSQL_HOST=mariadb
- MYSQL_PORT=3306
- MYSQL_USER=root
- MYSQL_PASS=${MYSQL_PASS:-supersecr3tpassw0rdfordatabase1}
ports:
- '80:80'
depends_on:
- mariadb
mariadb:
image: 'mariadb:12'
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_PASS:-supersecr3tpassw0rdfordatabase1}
ports:
- '3306:3306'
command:
- --max-allowed-packet=67108864
- --innodb-buffer-pool-size=256M
- --sql-mode=STRICT_ALL_TABLES
- --local-infile=0