Skip to content

Instantly share code, notes, and snippets.

@vusimoy0
Created April 27, 2020 19:09
Show Gist options
  • Save vusimoy0/de5f151fba2da756ebdd4ec6c4bffb4e to your computer and use it in GitHub Desktop.
Save vusimoy0/de5f151fba2da756ebdd4ec6c4bffb4e to your computer and use it in GitHub Desktop.
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