We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81a824e commit 25806a8Copy full SHA for 25806a8
solution/wordpress/manual-service.md
@@ -0,0 +1,10 @@
1
+# Run the below Service CLIs
2
+
3
+```
4
+docker service create --env WORDPRESS_DB_HOST=wordpressdb1 --env WORDPRESS_DB_PASSWORD=collab123 --network collabnet --replicas 4 --name wordpressapp --publish 80:80/tcp wordpress:latest
5
6
7
8
9
+docker service create --replicas 1 --name wordpressdb1 --network collabnet --env MYSQL_ROOT_PASSWORD=collab123 --env MYSQL_USER=wordpress --env MYSQL_PASSWORD=collab123 --env MYSQL_DATABASE=wordpress mysql:5.7
10
0 commit comments