-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
40 lines (38 loc) · 1.62 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
version: '3.7'
services:
mariadb:
image: mariadb:${MARIADB_VERSION}
restart: always
container_name: mariadb
ports:
- 3306:3306
volumes:
- ${MARIADB_HOST_DATA_DIR}/data/database:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD}
MARIADB_DATABASE: ${MARIADB_DATABASE}
MARIADB_USER: ${MARIADB_USER}
MARIADB_PASSWORD: ${MARIADB_PASSWORD}
galette:
image: galette/galette:${GALETTE_VERSION}
restart: always
container_name: galette-${GALETTE_VERSION}
stdin_open: true
tty: true
environment:
- TZ=Europe/Paris # Define Timezone. Europe/Paris by default.
- RM_INSTALL_FOLDER=0 # 0 by default. Turn to "1" to remove "install" folder (for security purpose), after installation/update.
ports:
- 8080:80
volumes:
- ${GALETTE_DATA_DIR}/data/attachments:/var/www/galette/data/attachments
- ${GALETTE_DATA_DIR}/data/cache:/var/www/galette/data/cache
- ${GALETTE_DATA_DIR}/data/files:/var/www/galette/data/files
- ${GALETTE_DATA_DIR}/data/logs:/var/www/galette/data/logs
- ${GALETTE_DATA_DIR}/data/photos:/var/www/galette/data/photos
- ${GALETTE_DATA_DIR}/data/tempimages:/var/www/galette/data/tempimages
- ${GALETTE_DATA_DIR}/data/templates_c:/var/www/galette/data/templates_c
- ${GALETTE_DATA_DIR}/config:/var/www/galette/config
# Uncomment this line below, to enable a custom css
# https://doc.galette.eu/en/master/usermanual/avancee.html#adapt-to-your-graphical-chart
# - ${GALETTE_DATA_DIR}/galette_local.css:/var/www/galette/webroot/themes/default/galette_local.css