forked from EC-CUBE/ec-cube2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.pgsql.yml
50 lines (47 loc) · 1.15 KB
/
docker-compose.pgsql.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
50
version: '3'
volumes:
pg-database:
driver: local
services:
ec-cube:
command: apache2-foreground
entrypoint: /wait-for-pgsql.sh
depends_on:
- postgres
environment:
TZ: Asia/Tokyo
PHP_POST_MAX_SIZE: 10M
PHP_UPLOAD_MAX_FILESIZE: 10M
PHP_LOG_ERRORS: "On"
PHP_ERROR_REPORTING: "E_ALL"
PHP_ERROR_LOG: "/proc/self/fd/2"
# EC-CUBE2 Config
HTTP_URL: https://localhost:4430/
HTTPS_URL: https://localhost:4430/
ROOT_URLPATH: /
DOMAIN_NAME: ~
DB_TYPE: pgsql
DB_USER: eccube_db_user
DB_PASSWORD: password
DB_SERVER: postgres
DB_NAME: eccube_db
DB_PORT: 5432
ADMIN_DIR: admin/
ADMIN_FORCE_SSL: 'false'
ADMIN_ALLOW_HOSTS: 'a:0:{}'
AUTH_MAGIC: ~
PASSWORD_HASH_ALGOS: sha256
postgres:
image: postgres
environment:
- POSTGRES_DB=eccube_db
- POSTGRES_USER=eccube_db_user
- POSTGRES_PASSWORD=password
- POSTGRES_HOST_AUTH_METHOD=md5
- POSTGRES_INITDB_ARGS=--auth-host=md5
ports:
- 15432:5432
volumes:
- pg-database:/var/lib/postgresql/data
networks:
- backend