awesome-compose
awesome-compose copied to clipboard
The WordPress service would benefit from a volume
Only the db persists, the files uploaded to the media library don't (if I throw away the container).
volumes:
- wordpress:/var/www/html
Or even just the wp-content folder. In this file: https://github.com/docker/awesome-compose/blob/master/wordpress-mysql/docker-compose.yaml