diff --git a/README.md b/README.md index 9160049..915c831 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ Official Meeds Docker image -[![Open in Cloud Shell](gce.png)](https://shell.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2FMeeds-io%2Fmeeds-docker&cloudshell_git_branch=develop&cloudshell_tutorial=gce.md) - The image is compatible with the following databases system : `MySQL` (default) / `HSQLDB` / `PostgreSQL` ![Docker Stars](https://img.shields.io/docker/stars/meedsio/meeds.svg) - ![Docker Pulls](https://img.shields.io/docker/pulls/meedsio/meeds.svg) diff --git a/gce-compose.yml b/gce-compose.yml deleted file mode 100644 index eea097d..0000000 --- a/gce-compose.yml +++ /dev/null @@ -1,54 +0,0 @@ -# -# This file is part of the Meeds project (https://meeds.io/). -# Copyright (C) 2024 Meeds Association -# contact@meeds.io -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 3 of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# You should have received a copy of the GNU Lesser General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -version: '2' -services: - meeds: - image: ghcr.io/meeds-io/meeds/meeds-io:alpine - environment: - MEEDS_PROXY_VHOST: localhost - MEEDS_PROXY_PORT: 80 - MEEDS_PROXY_SSL: "false" - MEEDS_DB_NAME: meeds - MEEDS_DB_USER: meeds - MEEDS_DB_PASSWORD: my-secret-pw - MEEDS_ADDONS_LIST: - MEEDS_JVM_LOG_GC_ENABLED: "true" - MEEDS_ES_SCHEME: http - MEEDS_ES_HOST: es - MEEDS_ES_PORT: 9200 - volumes: - - meeds_data:/srv/meeds - - meeds_logs:/var/log/meeds - expose: - - "8080" - ports: - - "8080:8080" - es: - image: elasticsearch:8.14.3 - volumes: - - search_data:/usr/share/elasticsearch/data:rw - environment: - - ES_JAVA_OPTS=-Xms2048m -Xmx2048m - - node.name=meeds - - cluster.name=meeds - - cluster.initial_master_nodes=meeds - - network.host=_site_ - - xpack.security.enabled=false -volumes: - meeds_data: - meeds_logs: - search_data: diff --git a/gce.md b/gce.md deleted file mode 100644 index ba6aa87..0000000 --- a/gce.md +++ /dev/null @@ -1,52 +0,0 @@ -# How to run? - -## Getting started - -Welcome to the Meeds-io Startup tutorial. Here we will show you how to run Meeds in a few steps. To get started, click on Start! - -## VM Setup -Elasticsearch uses a mmapfs directory by default to store its indices. The default operating system limits on mmap counts are likely to be too low, which may result in out-of-memory exceptions. See [doc](https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html). -```bash -sudo sysctl -w vm.max_map_count=262144 -``` - -## Upgrade docker-compose cli - -The provided docker-compose cli is outdated with the recent version of the docker daemon. So we need to update it as follow: - -```bash -sudo wget -q https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -O /usr/local/bin/docker-compose -sudo chmod +x /usr/local/bin/docker-compose -``` - -## Start Meeds -```bash -docker-compose -f gce-compose.yml -p demo up -d -docker-compose -f gce-compose.yml -p demo logs -f meeds -``` - -Wait for Meeds's startup. A log message should appear: -``` -| INFO | Server startup in [XXXXX] milliseconds [org.apache.catalina.startup.Catalina
] -``` -After Meeds startup. Click on `Web preview` Button and click on `Preview on Port 8080`. The default login credentials are `root`:`password`. Enjoy! - -## Stop Meeds -Hope you enjoyed Meeds. You can tear down the server by following one of these options: - - To stop Meeds without removing docker containers: - ```bash - docker-compose -f gce-compose.yml -p demo stop - ``` - - To stop Meeds by removing docker containers: - ```bash - docker-compose -f gce-compose.yml -p demo down - ``` - - To stop Meeds by removing docker containers and volumes: - ```bash - docker-compose -f gce-compose.yml -p demo down -v - ``` -You can start again meeds by following the previous step. - -You can check out our Github [organization](https://github.com/Meeds-io) and our [builders hub](https://builders.meeds.io). - -That's all :) \ No newline at end of file diff --git a/gce.png b/gce.png deleted file mode 100644 index b861263..0000000 Binary files a/gce.png and /dev/null differ