Skip to content

Commit b2d0d2f

Browse files
committed
yml rename
1 parent 5f15b19 commit b2d0d2f

File tree

2 files changed

+98
-0
lines changed

2 files changed

+98
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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:
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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:

0 commit comments

Comments
 (0)