Erster Commit
This commit is contained in:
46
wordpress/config/docker-compose.yml
Normal file
46
wordpress/config/docker-compose.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
wp_db:
|
||||
image: mariadb
|
||||
container_name: wp_db
|
||||
volumes:
|
||||
- ~/Container/wordpress/files/db:/var/lib/mysql
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=Gsw09Vw
|
||||
- MYSQL_PASSWORD=Gsw09Vw
|
||||
- MYSQL_DATABASE=wp_db
|
||||
- MYSQL_USER=wordpress
|
||||
restart: always
|
||||
|
||||
wordpress:
|
||||
image: wordpress
|
||||
container_name: wordpress
|
||||
depends_on:
|
||||
- wp_db
|
||||
environment:
|
||||
- DOMAIN=test.troche.koeln
|
||||
- SSH_DOMAIN=test.troche.koeln
|
||||
- WORDPRESS_DB_HOST=wp_db
|
||||
- WORDPRESS_DB_USER=wordpress
|
||||
- WORDPRESS_DB_PASSWORD=Gsw09Vw
|
||||
- WORDPRESS_DB_NAME=wp_db
|
||||
- VIRTUAL_HOST=test.troche.koeln
|
||||
- LETSENCRYPT_HOST=test.troche.koeln
|
||||
- LETSENCRYPT_EMAIL=ariane@familie-troche.de
|
||||
restart: always
|
||||
volumes:
|
||||
- ~/Container/wordpress/files/data:/var/www/html
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
expose:
|
||||
- 80
|
||||
- 443
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
|
||||
Reference in New Issue
Block a user