-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·34 lines (34 loc) · 1008 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·34 lines (34 loc) · 1008 Bytes
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
version: '3'
services:
spip:
image: ipeos/spip:latest
environment:
- PHP_TIMEZONE=Europe/Paris
- LANG='fr_FR.UTF-8'
- SPIP_DB_PASS=spippassword
ports:
- 9000:80
links:
- mariadb:mysql
volumes:
- ./src/IMG:/var/www/html/IMG:rw
- ./src/squelettes:/var/www/html/squelettes:rw
- ./src/plugins:/var/www/html/plugins:rw
- ./src/tmp/dump:/var/www/html/tmp/dump:rw
- ./src/config:/var/www/html/config:rw
- ./src/ryogasp.htaccess:/var/www/html/.htaccess
restart: unless-stopped
mariadb:
# upgrade: https://mariadb.com/docs/server/service-management/upgrades/community-server/release-series-cs10-6/
image: mariadb:10.4
volumes:
- ./maria/database:/var/lib/mysql
- ./maria/logs:/var/log/mysql/:rw
expose:
- 3306
environment:
- MYSQL_ROOT_PASSWORD=superrootpassword
- MYSQL_USER=spip
- MYSQL_PASSWORD=spippassword
- MYSQL_DATABASE=spip
restart: unless-stopped