From 6aeb48b958d1bf7c12841db63e16c0acf0fc2aa2 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 14 Jul 2023 08:08:58 +0200 Subject: [PATCH] refs #5975 Production setup changes --- mbrs/docker-compose-build.yml | 31 ---------- mbrs/kubernetes/secrets.yml | 58 ------------------ {mbrs => mrbs}/Dockerfile | 2 +- .../mbrs.yml => mrbs/kube-compose.yml | 34 +++++++--- {mbrs => mrbs}/tables.my.sql | 0 .../themes}/verdnatura/footer.inc | 0 .../themes}/verdnatura/header.inc | 0 .../themes}/verdnatura/styling.inc | 0 {mbrs => mrbs}/vernatura-logo.png | Bin 9 files changed, 25 insertions(+), 100 deletions(-) delete mode 100644 mbrs/docker-compose-build.yml delete mode 100644 mbrs/kubernetes/secrets.yml rename {mbrs => mrbs}/Dockerfile (95%) rename mbrs/kubernetes/mbrs.yml => mrbs/kube-compose.yml (80%) rename {mbrs => mrbs}/tables.my.sql (100%) rename {mbrs/Themes => mrbs/themes}/verdnatura/footer.inc (100%) rename {mbrs/Themes => mrbs/themes}/verdnatura/header.inc (100%) rename {mbrs/Themes => mrbs/themes}/verdnatura/styling.inc (100%) rename {mbrs => mrbs}/vernatura-logo.png (100%) diff --git a/mbrs/docker-compose-build.yml b/mbrs/docker-compose-build.yml deleted file mode 100644 index 365e9e4..0000000 --- a/mbrs/docker-compose-build.yml +++ /dev/null @@ -1,31 +0,0 @@ -version: "3.1" -services: - web: - build: - context: . - container_name: mrbs-web - ports: - - "8080:80" - - links: - - db - networks: - - default - db: - image: mysql:8.0.33 - container_name: mrbs-db - ports: - - "3306:3306" - command: --default-authentication-plugin=mysql_native_password - environment: - MYSQL_DATABASE: mrbs - MYSQL_USER: mrbs - MYSQL_PASSWORD: dhFtyr6%3jfifjRL.F987? - MYSQL_ROOT_PASSWORD: 3TTEKrPXspMAvHp - - volumes: - - ./tables.my.sql:/docker-entrypoint-initdb.d/010-tables.sql - - ./db:/var/lib/mysql - networks: - - default - diff --git a/mbrs/kubernetes/secrets.yml b/mbrs/kubernetes/secrets.yml deleted file mode 100644 index 0e542df..0000000 --- a/mbrs/kubernetes/secrets.yml +++ /dev/null @@ -1,58 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: mbrs.env - labels: - app: mbrs -type: Opaque -stringData: - MYSQL_PASSWORD: dhFtyr6%3jfifjRL.F987? - MYSQL_ROOT_PASSWORD: 3TTEKrPXspMAvHp ---- -apiVersion: v1 -kind: Secret -metadata: - name: mbrs.config - labels: - app: mbrs -type: Opaque -stringData: - config.inc.php: | -