Compare commits

..

9 Commits

Author SHA1 Message Date
ceffd9ba5d chore: publish 1.1.1+5.9.2 release 2022-03-28 09:24:44 +02:00
3wc
2d8c149b42 Add SMTP_PORT env variable 2022-03-14 13:23:08 +02:00
08c56a2ad9 fix: inline to avoid multiline errors in abra 2022-03-08 14:08:21 +00:00
2cb9b71e47 chore: publish 1.1.0+5.9.0 release 2022-02-03 17:14:34 +01:00
88ee8ae05e chore: publish 1.0.2+5.8.3 release 2022-01-18 16:11:45 +01:00
57122cd677 chore: publish 1.0.1+5.8.2 release 2022-01-04 12:06:14 +01:00
3wc
ab3361f46d Add backup-bot-two labels 2021-12-09 01:34:01 +02:00
3wc
0771aae91c Goodbye, emojis! 😢
[ci skip]
2021-11-23 12:19:06 +02:00
3wc
101864ce03 chore: fix README bullet formatting
[ci skip]
2021-11-22 13:42:04 +02:00
4 changed files with 23 additions and 24 deletions

View File

@ -17,17 +17,7 @@ SECRET_DB_PASSWORD_VERSION=v1
# define('WP_ALLOW_MULTISITE', true );" # define('WP_ALLOW_MULTISITE', true );"
# Multisite phase 2 (see README) # Multisite phase 2 (see README)
#WORDPRESS_CONFIG_EXTRA="\ # WORDPRESS_CONFIG_EXTRA="define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', '${DOMAIN}'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('FORCE_SSL_ADMIN', true ); define('COOKIE_DOMAIN', \$_SERVER['HTTP_HOST']);"
# define('WP_CACHE', false);\
# define('WP_ALLOW_MULTISITE', true );\
# define('MULTISITE', true);\
# define('SUBDOMAIN_INSTALL', true);\
# define('DOMAIN_CURRENT_SITE', '${DOMAIN}');\
# define('PATH_CURRENT_SITE', '/');\
# define('SITE_ID_CURRENT_SITE', 1);\
# define('BLOG_ID_CURRENT_SITE', 1);\
# define('FORCE_SSL_ADMIN', true );\
# define('COOKIE_DOMAIN', \$_SERVER['HTTP_HOST']);"
# Local SMTP relay # Local SMTP relay
#COMPOSE_FILE="compose.yml:compose.mailrelay.yml" #COMPOSE_FILE="compose.yml:compose.mailrelay.yml"

View File

@ -6,14 +6,14 @@ Coöp Cloud + [Wordpress](https://wordpress.org) = 🥳
<!-- metadata --> <!-- metadata -->
- **Category**: Apps * **Category**: Apps
- **Status**: ❶💚 * **Status**: 3, stable
- **Image**: [`wordpress`](https://hub.docker.com/_/wordpress), ❶💚, upstream * **Image**: [`wordpress`](https://hub.docker.com/_/wordpress), 4, upstream
- **Healthcheck**: Yes * **Healthcheck**: Yes
- **Backups**: Yes * **Backups**: Yes
- **Email**: ❶💚 * **Email**: 3
- **Tests**: ❷💛 * **Tests**: 2
- **SSO**: No * **SSO**: No
<!-- endmetadata --> <!-- endmetadata -->
@ -59,8 +59,8 @@ _(Only tested using subdomains)_
There is a local or remote SMTP relay configuration available. There is a local or remote SMTP relay configuration available.
- **local**: `COMPOSE_FILE=compose.yml:compose.mailrelay.yml` * **local**: `COMPOSE_FILE=compose.yml:compose.mailrelay.yml`
- **remote**: `COMPOSE_FILE=compose.yml:compose.mailrelay.yml:compose.smtp.yml` * **remote**: `COMPOSE_FILE=compose.yml:compose.mailrelay.yml:compose.smtp.yml`
Below are the instructions for the local relay. Below are the instructions for the local relay.

View File

@ -6,6 +6,7 @@ services:
entrypoint: /docker-entrypoint.mailrelay.sh entrypoint: /docker-entrypoint.mailrelay.sh
environment: environment:
- SMTP_HOST=${SMTP_HOST} - SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- MAIL_FROM=${MAIL_FROM} - MAIL_FROM=${MAIL_FROM}
configs: configs:
- source: mstmp_conf - source: mstmp_conf

View File

@ -3,7 +3,7 @@ version: "3.8"
services: services:
app: app:
image: "wordpress:5.8.1" image: "wordpress:5.9.2"
volumes: volumes:
- "wordpress_content:/var/www/html/wp-content/" - "wordpress_content:/var/www/html/wp-content/"
networks: networks:
@ -48,10 +48,12 @@ services:
#- "traefik.http.routers.${STACK_NAME}.rule=HostRegexp(`{subdomain:.+}.${DOMAIN}`, `${DOMAIN}`)" #- "traefik.http.routers.${STACK_NAME}.rule=HostRegexp(`{subdomain:.+}.${DOMAIN}`, `${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "coop-cloud.${STACK_NAME}.version=1.0.0+5.8.1" - "coop-cloud.${STACK_NAME}.version=1.1.1+5.9.2"
- "backupbot.backup=true"
- "backupbot.backup.path=/var/www/html"
db: db:
image: "mariadb:10.6" image: "mariadb:10.7"
volumes: volumes:
- "mariadb:/var/lib/mysql" - "mariadb:/var/lib/mysql"
networks: networks:
@ -64,6 +66,12 @@ services:
secrets: secrets:
- db_password - db_password
- db_root_password - db_root_password
deploy:
labels:
- "backupbot.backup=true"
- "backupbot.backup.path=/tmp/dump.sql.gz"
- "backupbot.backup.post-hook=rm -f /tmp/dump.sql.gz"
- "backupbot.backup.pre-hook=mysqldump -u root -p`cat /run/secrets/db_root_password` wordpress | gzip > /tmp/dump.sql.gz"
networks: networks:
backend: backend: