How to use with a Docker compose setup?
With a Docker compose file like below, how should I setup my export options?
version: '3.3' services: db: image: mysql:5.7 volumes: - db_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: somewordpress MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: wordpress wordpress: depends_on: - db image: wordpress:latest ports: - "8000:80" restart: always environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: wordpress WORDPRESS_DB_PASSWORD: wordpress volumes: db_data:
- 1 replies
- Leon Stafford @leonstafford2018-12-17 08:09:37.801Z
docker compose up, completing the WP setup and installing the WP2Static plugin, the following settings have been tested to work fine without any other configuration needed:
Depending on your site's theme, post and page URLs, you may need to adjust your Permalinks as below to get things working. This is an issue which should be resolved in a future version.