forked from EC-CUBE/ec-cube3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
72 lines (67 loc) · 2.01 KB
/
docker-compose.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "3"
networks:
backend:
driver: bridge
# volumes:
# mailcatcher-data:
# driver: local
### ignore folder volume #####
# var:
# driver: local
# vendor:
# driver: local
# node_modules:
# driver: local
services:
### ECCube4 ##################################
ec-cube:
### ローカルでビルドする場合は以下のコマンドを使用します
## docker build -t ec-cube --no-cache --pull --build-arg TAG=8.1-apache .
## docker tag ec-cube ghcr.io/ec-cube/ec-cube-php:8.1-apache
# image: ${REGISTRY:-ghcr.io}/${IMAGE_NAME:-ec-cube/ec-cube-php}:${TAG:-8.1-apache}
build:
context: .
dockerfile: Dockerfile
image: ec-cube:5.4-apache
ports:
- 8080:80
- 4430:443
# volumes:
### 同期対象からコストの重いフォルダを除外 #####################
# - "var:/var/www/html/var"
# - "vendor:/var/www/html/vendor"
# - "node_modules:/var/www/html/node_modules"
environment:
# EC-CUBE environments
# APP_ENV: "dev"
# APP_DEBUG: 1
DATABASE_URL: "sqlite:///var/eccube.db"
# DATABASE_SERVER_VERSION: 3
# DATABASE_CHARSET: 'utf8'
# MAILER_DSN: "smtp://mailcatcher:1025"
# ECCUBE_AUTH_MAGIC: "<change.me>"
# TRUSTED_HOSTS: '^127.0.0.1$$,^localhost$$'
# ECCUBE_LOCALE: "ja"
# ECCUBE_TIMEZONE: "Asia/Tokyo"
# ECCUBE_CURRENCY: "JPY"
# ECCUBE_ADMIN_ROUTE: "admin"
# ECCUBE_USER_DATA_ROUTE: "user_data"
# ECCUBE_ADMIN_ALLOW_HOSTS: []
# ECCUBE_FORCE_SSL: false
# ECCUBE_TEMPLATE_CODE: "default"
# ECCUBE_COOKIE_NAME: "eccube"
# ECCUBE_COOKIE_PATH: "/"
# ECCUBE_COOKIE_LIFETIME: 0
# ECCUBE_GC_MAXLIFETIME: 1440
# ECCUBE_ADMIN_USER: "admin"
# ECCUBE_ADMIN_PASS: "password"
networks:
- backend
### Mailcatcher ##################################
# mailcatcher:
# image: schickling/mailcatcher
# ports:
# - "1080:1080"
# - "1025:1025"
# networks:
# - backend