forked from claroline/Claroline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml.dist
44 lines (41 loc) · 1.26 KB
/
docker-compose.override.yml.dist
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
version: '2'
services:
web:
ports:
- 80:80
volumes:
- composer_cache:/root/.composer
- npm_cache:/root/.npm
- bower_cache:/root/.cache/bower
depends_on:
- db
environment:
APP_URL: ${APP_URL}
DB_HOST: db
DB_NAME: ${DB_NAME}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
SECRET: ${SECRET}
ADMIN_FIRSTNAME: ${ADMIN_FIRSTNAME}
ADMIN_LASTNAME: ${ADMIN_LASTNAME}
ADMIN_USERNAME: ${ADMIN_USERNAME}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
ADMIN_EMAIL: ${ADMIN_EMAIL}
# These will be the default platform options, they are only used once during the Claroline Connect install
PLATFORM_NAME: ${PLATFORM_NAME}
PLATFORM_SUPPORT_EMAIL: ${PLATFORM_SUPPORT_EMAIL}
db:
environment:
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
MYSQL_USER: ${DB_USER}
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_DATABASE: ${DB_NAME}
image: mysql
volumes:
- ./.docker/mysql:/etc/mysql/conf.d
- mysql_data:/var/lib/mysql
volumes:
mysql_data: # This is where the mysql data lives
composer_cache: # This is where the composer cache data lives
npm_cache: # This is where the npm cache data lives
bower_cache: # This is where the bower cache data lives