File tree 2 files changed +98
-0
lines changed
wordpress-vs-hugo/wordpress-minimal
2 files changed +98
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Wordpress Minimal
3
+ author : Arne Tarara <arne@green-coding.berlin>
4
+ description : Curl the wordpress server
5
+
6
+ services :
7
+ gcb-mariadb :
8
+ image : gcb_mariadb
9
+ environment :
10
+ MYSQL_ROOT_PASSWORD : somewordpress
11
+ MYSQL_DATABASE : wordpress
12
+ MYSQL_USER : wordpress
13
+ MYSQL_PASSWORD : wordpress
14
+ networks :
15
+ - wordpress-minimal-network
16
+ # Sleep command cause container needs bootup time to ingest SQL dump
17
+ setup-commands :
18
+ - sleep 20
19
+ build : .
20
+ gcb-wordpress :
21
+ image : wordpress:5.9.3
22
+ environment :
23
+ WORDPRESS_DB_HOST : gcb-mariadb
24
+ WORDPRESS_DB_USER : wordpress
25
+ WORDPRESS_DB_PASSWORD : wordpress
26
+ WORDPRESS_DB_NAME : wordpress
27
+ WORDPRESS_TABLE_PREFIX : wp_
28
+ networks :
29
+ - wordpress-minimal-network
30
+ volumes :
31
+ - ./wordpress.conf:/etc/apache2/sites-enabled/wordpress.conf:ro
32
+ gcb-curl :
33
+ # Newer version of the curl image lead to an error with Docker rootless https://github.com/curl/curl-container/issues/55
34
+ image : curlimages/curl:8.1.0
35
+ networks :
36
+ - wordpress-minimal-network
37
+ command : sh
38
+
39
+ flow :
40
+ - name : Wordpress Minimal Homepage
41
+ container : gcb-curl
42
+ commands :
43
+ - type : console
44
+ # Set curl to silent, otherwise the STDERR speed report bothers us
45
+ command : " curl -s http://gcb-wordpress:9875"
46
+ note : Accessing wordpress-minimal home page
47
+
48
+ networks :
49
+ wordpress-minimal-network :
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Wordpress Minimal
3
+ author : Arne Tarara <arne@green-coding.berlin>
4
+ description : Curl the wordpress server
5
+
6
+ services :
7
+ gcb-mariadb :
8
+ image : gcb_mariadb
9
+ environment :
10
+ MYSQL_ROOT_PASSWORD : somewordpress
11
+ MYSQL_DATABASE : wordpress
12
+ MYSQL_USER : wordpress
13
+ MYSQL_PASSWORD : wordpress
14
+ networks :
15
+ - wordpress-minimal-network
16
+ # Sleep command cause container needs bootup time to ingest SQL dump
17
+ setup-commands :
18
+ - sleep 20
19
+ build : .
20
+ gcb-wordpress :
21
+ image : wordpress:6.0.0
22
+ environment :
23
+ WORDPRESS_DB_HOST : gcb-mariadb
24
+ WORDPRESS_DB_USER : wordpress
25
+ WORDPRESS_DB_PASSWORD : wordpress
26
+ WORDPRESS_DB_NAME : wordpress
27
+ WORDPRESS_TABLE_PREFIX : wp_
28
+ networks :
29
+ - wordpress-minimal-network
30
+ volumes :
31
+ - ./wordpress.conf:/etc/apache2/sites-enabled/wordpress.conf:ro
32
+ gcb-curl :
33
+ # Newer version of the curl image lead to an error with Docker rootless https://github.com/curl/curl-container/issues/55
34
+ image : curlimages/curl:8.1.0
35
+ networks :
36
+ - wordpress-minimal-network
37
+ command : sh
38
+
39
+ flow :
40
+ - name : Wordpress Minimal Homepage
41
+ container : gcb-curl
42
+ commands :
43
+ - type : console
44
+ # Set curl to silent, otherwise the STDERR speed report bothers us
45
+ command : " curl -s http://gcb-wordpress:9875"
46
+ note : Accessing wordpress-minimal home page
47
+
48
+ networks :
49
+ wordpress-minimal-network :
You can’t perform that action at this time.
0 commit comments