first commit
This commit is contained in:
commit
6a6716fbe7
16
.env
Normal file
16
.env
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
REDIS_PORT_6379_TCP_ADDR=lachaussettedelocquirecfr_redis
|
||||||
|
REDIS_PORT_6379_TCP_PORT=6379
|
||||||
|
|
||||||
|
MYSQL_USER=wordpress
|
||||||
|
MYSQL_DATABASE=wordpress
|
||||||
|
#MYSQL_PASSWORD=
|
||||||
|
#MYSQL_ROOT_PASSWORD=
|
||||||
|
|
||||||
|
WORDPRESS_DB_HOST=lachaussettedelocquirecfr_mariadb
|
||||||
|
WORDPRESS_DB_USER=wordpress
|
||||||
|
#WORDPRESS_DB_PASSWORD=
|
||||||
|
WORDPRESS_DB_NAME=wordpress
|
||||||
|
#WORDPRESS_TABLE_PREFIX=
|
||||||
|
WORDPRESS_CONFIG_EXTRA="/* Redis */
|
||||||
|
define('WP_REDIS_HOST', 'lachaussettedelocquirecfr_redis');
|
||||||
|
define('WP_REDIS_PORT', '6379');"
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
volumes/
|
40
compose.yml
Normal file
40
compose.yml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
services:
|
||||||
|
redis:
|
||||||
|
image: redis:latest
|
||||||
|
container_name: lachaussettedelocquirecfr_redis
|
||||||
|
volumes:
|
||||||
|
- ./volumes/redis:/data
|
||||||
|
command: redis-server --appendonly yes
|
||||||
|
restart: unless-stopped
|
||||||
|
mariadb:
|
||||||
|
image: mariadb:latest
|
||||||
|
container_name: lachaussettedelocquirecfr_mariadb
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
- ../passwords/lachaussettedelocquirecfr.pass
|
||||||
|
volumes:
|
||||||
|
- ./volumes/mysql:/var/lib/mysql
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
|
start_period: 10s
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
command: ['mariadbd', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
|
||||||
|
restart: unless-stopped
|
||||||
|
wordpress:
|
||||||
|
image: wordpress:latest
|
||||||
|
container_name: lachaussettedelocquirecfr_wordpress
|
||||||
|
depends_on:
|
||||||
|
- mariadb
|
||||||
|
extra_hosts:
|
||||||
|
- "lachaussettedelocquirec.fr:103.177.249.4"
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
- ../passwords/lachaussettedelocquirecfr.pass
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8003:80"
|
||||||
|
volumes:
|
||||||
|
- ./volumes/wordpress:/var/www/html
|
||||||
|
- ./conf/php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
|
||||||
|
restart: unless-stopped
|
2
conf/php/uploads.ini
Normal file
2
conf/php/uploads.ini
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
upload_max_filesize = 512M
|
||||||
|
post_max_size = 512M
|
Loading…
x
Reference in New Issue
Block a user