Created
April 27, 2020 19:09
-
-
Save vusimoy0/de5f151fba2da756ebdd4ec6c4bffb4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.6' | |
services: | |
wordpress: | |
image: 'bitnami/wordpress:latest' | |
labels: | |
kompose.service.type: nodeport | |
ports: | |
- '5000:80' | |
- '5100:443' | |
volumes: | |
- './wordpress_data:/bitnami' | |
environment: | |
- MARIADB_HOST=mariadb | |
- MARIADB_PORT_NUMBER=3307 | |
- WORDPRESS_DATABASE_USER=[wordpress user] | |
- WORDPRESS_DATABASE_NAME=[db_name] | |
- WORDPRESS_DATABASE_PASSWORD=[db_passwprd] | |
- SMTP_HOST=[smtp server name] | |
- SMTP_PORT=[smtp password] | |
- SMTP_USER=[smtp username] | |
- SMTP_PASSWORD=[smtp password] | |
- SMTP_PROTOCOL=tls | |
networks: | |
default: | |
external: | |
name: wordpress-net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment