-
Notifications
You must be signed in to change notification settings - Fork 1.1k
How to enable https?
#668
-
Hi,
I use wordpress of docker version normally, now want to enable https. Do we have guide to enable that? Follow my now config:
[root@xxxxxxx my_wordpress]# more docker-compose.yml
version: '3'
services:
db:
image: mysql:5.7
volumes:
- ./mysql_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: xxxx
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
wordpress:
depends_on:
- db
image: wordpress:latest
volumes:
- ./wordpress_data:/var/www/html
ports:
- "80:80"
dns:
- 1.0.0.1
- 8.8.8.8
restart: always
environment:
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
db_data:
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Here's an example from a while back #46 (comment)
You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment