envole/misc/wordpress/docker-compose.yml

52 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2024-02-29 16:46:23 +01:00
version: '3'
services:
mariadb:
image: mariadb
container_name: wordpress-mariadb
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: wordpress
MYSQL_USER: user
2024-03-06 08:48:50 +01:00
MYSQL_PASSWORD: changeme
2024-02-29 16:46:23 +01:00
volumes:
- mariadb-data:/var/lib/mysql
wordpress:
build:
context: ./containers/wordpress
image: reg.cadoles.com/envole/wordpress
container_name: wordpress-app
2024-03-06 08:48:50 +01:00
restart: always
2024-02-29 16:46:23 +01:00
depends_on:
- mariadb
ports:
- "9003:80"
environment:
- WORDPRESS_DB_HOST=mariadb
- WORDPRESS_DB_NAME=wordpress
- WORDPRESS_DB_USER=user
- WORDPRESS_DB_PASSWORD=changeme
- WORDPRESS_TITLE=wordpress
- WORDPRESS_USER=admin
- WORDPRESS_PASSWORD=changeme
- WORDPRESS_EMAIL=admin@noreply.fr
- WORDPRESS_PROTOCOL=https
- WORDPRESS_DOMAINE=eolebase.ac-test.fr
- WORDPRESS_ALIAS=/wordpress/
2024-03-13 19:13:53 +01:00
#volumes:
# - ./containers/data:/app/public/wp-content/plugins/wp-cas
2024-02-29 16:46:23 +01:00
adminer:
image: docker.io/library/adminer
container_name: wordpress-adminer
restart: always
ports:
- 9100:8080
volumes:
mariadb-data: