diff --git a/examples/compose/uptime-kuma.yaml b/examples/compose/uptime-kuma.yaml deleted file mode 100644 index 28e7c59bc..000000000 --- a/examples/compose/uptime-kuma.yaml +++ /dev/null @@ -1,5 +0,0 @@ -services: - uptime-kuma: - image: louislam/uptime-kuma:1 - volumes: - - uptime-kuma:/app/data diff --git a/templates/compose/appsmith.yaml b/templates/compose/appsmith.yaml new file mode 100644 index 000000000..78f120009 --- /dev/null +++ b/templates/compose/appsmith.yaml @@ -0,0 +1,15 @@ +# documentation: https://docs.appsmith.com +# slogan: Appsmith is an open-source, self-hosted application development platform that enables you to build powerful web applications with ease. + +services: + appsmith: + image: index.docker.io/appsmith/appsmith-ce + environment: + - SERVICE_FQDN + - APPSMITH_MAIL_ENABLED=false + - APPSMITH_DISABLE_TELEMETRY=true + - APPSMITH_DISABLE_INTERCOM=true + - APPSMITH_SENTRY_DSN= + - APPSMITH_SMART_LOOK_ID= + volumes: + - stacks-data:/appsmith-stacks diff --git a/templates/compose/appwrite.env b/templates/compose/appwrite.env new file mode 100644 index 000000000..ddb0d72c0 --- /dev/null +++ b/templates/compose/appwrite.env @@ -0,0 +1,107 @@ +_APP_ENV=production +_APP_LOCALE=en +_APP_OPTIONS_ABUSE=enabled +_APP_OPTIONS_FORCE_HTTPS=disabled +_APP_OPENSSL_KEY_V1= +_APP_DOMAIN_FUNCTIONS= +_APP_CONSOLE_WHITELIST_ROOT=enabled +_APP_CONSOLE_WHITELIST_EMAILS= +_APP_CONSOLE_WHITELIST_IPS= +_APP_SYSTEM_EMAIL_NAME=Appwrite +_APP_SYSTEM_EMAIL_ADDRESS=team@appwrite.io +_APP_SYSTEM_RESPONSE_FORMAT= +_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=certs@appwrite.io +_APP_USAGE_STATS=enabled +_APP_LOGGING_PROVIDER= +_APP_LOGGING_CONFIG= +_APP_USAGE_AGGREGATION_INTERVAL=30 +_APP_USAGE_TIMESERIES_INTERVAL=30 +_APP_USAGE_DATABASE_INTERVAL=900 +_APP_WORKER_PER_CORE=6 +_APP_REDIS_HOST=redis +_APP_REDIS_PORT=6379 +_APP_REDIS_USER= +_APP_REDIS_PASS= +_APP_DB_HOST=mariadb +_APP_DB_PORT=3306 +_APP_DB_SCHEMA=appwrite +_APP_DB_USER=$SERVICE_USER_MYSQL +_APP_DB_PASS=$SERVICE_PASSWORD_MYSQL +_APP_DB_ROOT_PASS=$SERVICE_PASSWORD_ROOTMYSQL +_APP_INFLUXDB_HOST=influxdb +_APP_INFLUXDB_PORT=8086 +_APP_STATSD_HOST=telegraf +_APP_STATSD_PORT=8125 +_APP_SMTP_HOST= +_APP_SMTP_PORT= +_APP_SMTP_SECURE= +_APP_SMTP_USERNAME= +_APP_SMTP_PASSWORD= +_APP_SMS_PROVIDER= +_APP_SMS_FROM= +_APP_STORAGE_LIMIT=30000000 +_APP_STORAGE_PREVIEW_LIMIT=20000000 +_APP_STORAGE_ANTIVIRUS=disabled +_APP_STORAGE_ANTIVIRUS_HOST=clamav +_APP_STORAGE_ANTIVIRUS_PORT=3310 +_APP_STORAGE_DEVICE=local +_APP_STORAGE_S3_ACCESS_KEY= +_APP_STORAGE_S3_SECRET= +_APP_STORAGE_S3_REGION=us-east-1 +_APP_STORAGE_S3_BUCKET= +_APP_STORAGE_DO_SPACES_ACCESS_KEY= +_APP_STORAGE_DO_SPACES_SECRET= +_APP_STORAGE_DO_SPACES_REGION=us-east-1 +_APP_STORAGE_DO_SPACES_BUCKET= +_APP_STORAGE_BACKBLAZE_ACCESS_KEY= +_APP_STORAGE_BACKBLAZE_SECRET= +_APP_STORAGE_BACKBLAZE_REGION=us-west-004 +_APP_STORAGE_BACKBLAZE_BUCKET= +_APP_STORAGE_LINODE_ACCESS_KEY= +_APP_STORAGE_LINODE_SECRET= +_APP_STORAGE_LINODE_REGION=eu-central-1 +_APP_STORAGE_LINODE_BUCKET= +_APP_STORAGE_WASABI_ACCESS_KEY= +_APP_STORAGE_WASABI_SECRET= +_APP_STORAGE_WASABI_REGION=eu-central-1 +_APP_STORAGE_WASABI_BUCKET= +_APP_FUNCTIONS_SIZE_LIMIT=30000000 +_APP_FUNCTIONS_TIMEOUT=900 +_APP_FUNCTIONS_BUILD_TIMEOUT=900 +_APP_FUNCTIONS_CONTAINERS=10 +_APP_FUNCTIONS_CPUS=0 +_APP_FUNCTIONS_MEMORY=0 +_APP_FUNCTIONS_MEMORY_SWAP=0 +_APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0 +_APP_EXECUTOR_SECRET=your-secret-key +_APP_EXECUTOR_HOST=http://appwrite-executor/v1 +_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes +_APP_FUNCTIONS_ENVS=node-16.0,php-7.4,python-3.9,ruby-3.0 +_APP_FUNCTIONS_INACTIVE_THRESHOLD=60 +DOCKERHUB_PULL_USERNAME= +DOCKERHUB_PULL_PASSWORD= +DOCKERHUB_PULL_EMAIL= +OPEN_RUNTIMES_NETWORK=appwrite_runtimes +_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes +_APP_DOCKER_HUB_USERNAME= +_APP_DOCKER_HUB_PASSWORD= +_APP_FUNCTIONS_MAINTENANCE_INTERVAL=3600 +_APP_VCS_GITHUB_APP_NAME= +_APP_VCS_GITHUB_PRIVATE_KEY= +_APP_VCS_GITHUB_APP_ID= +_APP_VCS_GITHUB_CLIENT_ID= +_APP_VCS_GITHUB_CLIENT_SECRET= +_APP_VCS_GITHUB_WEBHOOK_SECRET= +_APP_MAINTENANCE_INTERVAL=86400 +_APP_MAINTENANCE_RETENTION_CACHE=2592000 +_APP_MAINTENANCE_RETENTION_EXECUTION=1209600 +_APP_MAINTENANCE_RETENTION_AUDIT=1209600 +_APP_MAINTENANCE_RETENTION_ABUSE=86400 +_APP_MAINTENANCE_RETENTION_USAGE_HOURLY=8640000 +_APP_MAINTENANCE_RETENTION_SCHEDULES=86400 +_APP_GRAPHQL_MAX_BATCH_SIZE=10 +_APP_GRAPHQL_MAX_COMPLEXITY=250 +_APP_GRAPHQL_MAX_DEPTH=3 +_APP_MIGRATIONS_FIREBASE_CLIENT_ID= +_APP_MIGRATIONS_FIREBASE_CLIENT_SECRET= +_APP_ASSISTANT_OPENAI_API_KEY= diff --git a/examples/compose/appwrite.yaml b/templates/compose/appwrite.yaml similarity index 96% rename from examples/compose/appwrite.yaml rename to templates/compose/appwrite.yaml index 50b35b522..2fd37155f 100644 --- a/examples/compose/appwrite.yaml +++ b/templates/compose/appwrite.yaml @@ -1,20 +1,18 @@ +# documentation: https://appwrite.io/docs +# slogan: Appwrite is a self-hosted backend-as-a-service platform that simplifies the development of web and mobile applications by providing a range of features and APIs. + + x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' - -x-image: &x-image - image: appwrite/appwrite:1.4.3 - -x-image-assistant: &x-image-assistant - image: appwrite/assistant:0.2.1 - version: '3' + services: appwrite: - <<: *x-image + image: appwrite/appwrite:1.4.3 container_name: appwrite <<: *x-logging labels: @@ -137,7 +135,7 @@ services: - _APP_ASSISTANT_OPENAI_API_KEY appwrite-realtime: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: realtime container_name: appwrite-realtime <<: *x-logging @@ -180,7 +178,7 @@ services: - _APP_LOGGING_CONFIG appwrite-worker-audits: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-audits <<: *x-logging container_name: appwrite-worker-audits @@ -207,7 +205,7 @@ services: - _APP_LOGGING_CONFIG appwrite-worker-webhooks: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-webhooks <<: *x-logging container_name: appwrite-worker-webhooks @@ -230,7 +228,7 @@ services: - _APP_LOGGING_CONFIG appwrite-worker-deletes: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-deletes <<: *x-logging container_name: appwrite-worker-deletes @@ -286,7 +284,7 @@ services: - _APP_EXECUTOR_HOST appwrite-worker-databases: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-databases <<: *x-logging container_name: appwrite-worker-databases @@ -313,7 +311,7 @@ services: - _APP_LOGGING_CONFIG appwrite-worker-builds: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-builds <<: *x-logging container_name: appwrite-worker-builds @@ -375,7 +373,7 @@ services: - _APP_STORAGE_WASABI_BUCKET appwrite-worker-certificates: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-certificates <<: *x-logging container_name: appwrite-worker-certificates @@ -409,7 +407,7 @@ services: - _APP_LOGGING_CONFIG appwrite-worker-functions: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-functions <<: *x-logging container_name: appwrite-worker-functions @@ -446,7 +444,7 @@ services: - _APP_LOGGING_PROVIDER appwrite-worker-mails: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-mails <<: *x-logging container_name: appwrite-worker-mails @@ -474,7 +472,7 @@ services: - _APP_LOGGING_CONFIG appwrite-worker-messaging: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-messaging <<: *x-logging container_name: appwrite-worker-messaging @@ -496,7 +494,7 @@ services: - _APP_LOGGING_CONFIG appwrite-worker-migrations: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: worker-migrations <<: *x-logging container_name: appwrite-worker-migrations @@ -527,7 +525,7 @@ services: - _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET appwrite-maintenance: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: maintenance <<: *x-logging container_name: appwrite-maintenance @@ -561,7 +559,7 @@ services: - _APP_MAINTENANCE_RETENTION_SCHEDULES appwrite-usage: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: usage container_name: appwrite-usage <<: *x-logging @@ -592,7 +590,7 @@ services: - _APP_LOGGING_CONFIG appwrite-schedule: - <<: *x-image + image: appwrite/appwrite:1.4.3 entrypoint: schedule container_name: appwrite-schedule <<: *x-logging @@ -617,7 +615,7 @@ services: - _APP_DB_PASS appwrite-assistant: - <<: *x-image-assistant + image: appwrite/assistant:0.2.1 container_name: appwrite-assistant <<: *x-logging restart: unless-stopped diff --git a/templates/compose/babybuddy.yaml b/templates/compose/babybuddy.yaml new file mode 100644 index 000000000..10b7eed38 --- /dev/null +++ b/templates/compose/babybuddy.yaml @@ -0,0 +1,19 @@ +# documentation: https://docs.baby-buddy.net +# slogan: Baby Buddy is an open-source web application that helps parents track their baby's daily activities, growth, and health with ease. It's a handy tool for new parents to keep a close eye on their little one's development. + +services: + babybuddy: + image: lscr.io/linuxserver/babybuddy:latest + environment: + - SERVICE_FQDN_BABYBUDDY + - PUID=1000 + - PGID=1000 + - TZ=Europe/Madrid + - CSRF_TRUSTED_ORIGINS=$SERVICE_FQDN_BABYBUDDY + volumes: + - babybuddy-config:/config + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8000"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/templates/compose/code-server.yaml b/templates/compose/code-server.yaml new file mode 100644 index 000000000..612439035 --- /dev/null +++ b/templates/compose/code-server.yaml @@ -0,0 +1,21 @@ +# documentation: https://coder.com/docs/code-server/latest/guide +# slogan: Code-Server is a self-hosted, web-based code editor that enables remote coding and collaboration from any device, anywhere. + +services: + code-server: + image: lscr.io/linuxserver/code-server:latest + environment: + - SERVICE_FQDN_CODESERVER + - PUID=1000 + - PGID=1000 + - TZ=Europe/Madrid + - PASSWORD=$SERVICE_PASSWORD_64_PASSWORDCODESERVER + - SUDO_PASSWORD=$SERVICE_PASSWORD_SUDOCODESERVER + - DEFAULT_WORKSPACE=/config/workspace + volumes: + - code-server-config:/config + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8443"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/templates/compose/dokuwiki.yaml b/templates/compose/dokuwiki.yaml new file mode 100644 index 000000000..9ae0972ab --- /dev/null +++ b/templates/compose/dokuwiki.yaml @@ -0,0 +1,18 @@ +# documentation: https://www.dokuwiki.org/faq +# slogan: A lightweight and easy-to-use wiki platform for creating and managing documentation and knowledge bases with simplicity and flexibility. + +services: + dokuwiki: + image: lscr.io/linuxserver/dokuwiki:latest + environment: + - SERVICE_FQDN_DOKUWIKI + - PUID=1000 + - PGID=1000 + - TZ=Europe/Madrid + volumes: + - dokuwiki-config:/config + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:80"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/examples/compose/fider.yaml b/templates/compose/fider.yaml similarity index 82% rename from examples/compose/fider.yaml rename to templates/compose/fider.yaml index 7fb4543e7..71bfa0330 100644 --- a/examples/compose/fider.yaml +++ b/templates/compose/fider.yaml @@ -1,10 +1,13 @@ +# documentation: https://fider.io/doc +# slogan: Fider is an open-source feedback platform for collecting and managing user feedback, helping you prioritize improvements to your products and services. + services: fider: image: getfider/fider:stable environment: BASE_URL: $SERVICE_FQDN_FIDER DATABASE_URL: postgres://$SERVICE_USER_MYSQL:$SERVICE_PASSWORD_MYSQL@database:5432/fider?sslmode=disable - JWT_SECRET: $SERVICE_PASSWORD64_FIDER + JWT_SECRET: $SERVICE_PASSWORD_64_FIDER EMAIL_NOREPLY: ${EMAIL_NOREPLY:-noreply@example.com} EMAIL_MAILGUN_API: $EMAIL_MAILGUN_API EMAIL_MAILGUN_DOMAIN: $EMAIL_MAILGUN_DOMAIN diff --git a/examples/compose/ghost.yaml b/templates/compose/ghost.yaml similarity index 82% rename from examples/compose/ghost.yaml rename to templates/compose/ghost.yaml index ee88bd974..fd1aca678 100644 --- a/examples/compose/ghost.yaml +++ b/templates/compose/ghost.yaml @@ -1,3 +1,6 @@ +# documentation: https://ghost.org/docs +# slogan: Ghost is a popular open-source content management system (CMS) and blogging platform, known for its simplicity and focus on content creation. + services: ghost: image: ghost:5 diff --git a/templates/compose/heimdall.yaml b/templates/compose/heimdall.yaml new file mode 100644 index 000000000..8216f0ea2 --- /dev/null +++ b/templates/compose/heimdall.yaml @@ -0,0 +1,18 @@ +# documentation: https://github.com/linuxserver/Heimdall +# slogan: Heimdall is a self-hosted dashboard for managing and organizing your server applications, providing a centralized and efficient interface. + +services: + heimdall: + image: lscr.io/linuxserver/heimdall:latest + environment: + - SERVICE_FQDN_HEIMDALL + - PUID=1000 + - PGID=1000 + - TZ=Europe/Madrid + volumes: + - heimdall-config:/config + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:80"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/templates/compose/metube.yaml b/templates/compose/metube.yaml new file mode 100644 index 000000000..4bebefbb9 --- /dev/null +++ b/templates/compose/metube.yaml @@ -0,0 +1,17 @@ +# documentation: https://github.com/alexta69/metube +# slogan: A web GUI for youtube-dl with playlist support. It enables you to effortlessly download videos from YouTube and dozens of other sites. + +services: + metube: + image: ghcr.io/alexta69/metube:latest + environment: + - SERVICE_FQDN_METUBE + - UID=1000 + - GID=1000 + volumes: + - metube-downloads:/downloads + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8081"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/examples/compose/minio.yaml b/templates/compose/minio.yaml similarity index 100% rename from examples/compose/minio.yaml rename to templates/compose/minio.yaml diff --git a/templates/compose/pairdrop.yaml b/templates/compose/pairdrop.yaml new file mode 100644 index 000000000..c84d50434 --- /dev/null +++ b/templates/compose/pairdrop.yaml @@ -0,0 +1,17 @@ +# documentation: https://github.com/schlagmichdoch/PairDrop/blob/master/docs/faq.md +# slogan: Pairdrop is a self-hosted file sharing and collaboration platform, offering secure file sharing and collaboration capabilities for efficient teamwork. + +services: + pairdrop: + image: lscr.io/linuxserver/pairdrop:latest + environment: + - SERVICE_FQDN_PAIRDROP + - PUID=1000 + - PGID=1000 + - TZ=Europe/Madrid + - DEBUG_MODE=false + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:3000"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/examples/compose/plausible.yaml b/templates/compose/plausible.yaml similarity index 100% rename from examples/compose/plausible.yaml rename to templates/compose/plausible.yaml diff --git a/examples/compose/postgres.yaml b/templates/compose/postgres.yaml similarity index 100% rename from examples/compose/postgres.yaml rename to templates/compose/postgres.yaml diff --git a/templates/compose/snapdrop.yaml b/templates/compose/snapdrop.yaml new file mode 100644 index 000000000..345486859 --- /dev/null +++ b/templates/compose/snapdrop.yaml @@ -0,0 +1,18 @@ +# documentation: https://github.com/RobinLinus/snapdrop/blob/master/docs/faq.md +# slogan: A self-hosted file-sharing service for secure and convenient file transfers, whether on a local network or the internet. + +services: + snapdrop: + image: lscr.io/linuxserver/snapdrop:latest + environment: + - SERVICE_FQDN_SNAPDROP + - PUID=1000 + - PGID=1000 + - TZ=Europe/Madrid + volumes: + - snapdrop-config:/config + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:80"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/templates/compose/umami.yaml b/templates/compose/umami.yaml new file mode 100644 index 000000000..d443279a1 --- /dev/null +++ b/templates/compose/umami.yaml @@ -0,0 +1,27 @@ +# documentation: https://umami.is/docs/getting-started +# slogan: Umami is a lightweight, self-hosted web analytics platform designed to provide website owners with insights into visitor behavior without compromising user privacy. + +services: + umami: + image: ghcr.io/umami-software/umami:postgresql-latest + environment: + - SERVICE_FQDN_UMAMI + - DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/$POSTGRES_DB + - DATABASE_TYPE=postgres + - APP_SECRET=$SERVICE_PASSWORD_64_UMAMI + depends_on: + postgresql: + condition: service_healthy + postgresql: + image: postgres:15-alpine + volumes: + - postgresql-data:/var/lib/postgresql/data + environment: + - POSTGRES_USER=$SERVICE_USER_POSTGRES + - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES + - POSTGRES_DB=${POSTGRES_DB:-umami} + healthcheck: + test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] + interval: 5s + timeout: 5s + retries: 10 diff --git a/templates/compose/uptime-kuma.yaml b/templates/compose/uptime-kuma.yaml new file mode 100644 index 000000000..d64a0d05c --- /dev/null +++ b/templates/compose/uptime-kuma.yaml @@ -0,0 +1,15 @@ +# documentation: https://github.com/louislam/uptime-kuma/wiki +# slogan: Uptime Kuma is a free, self-hosted monitoring tool for tracking the status and performance of your web services and applications in real-time. + +services: + uptime-kuma: + image: louislam/uptime-kuma:1 + environment: + - SERVICE_FQDN + volumes: + - uptime-kuma:/app/data + healthcheck: + test: ["CMD-SHELL", "extra/healthcheck"] + interval: 2s + timeout: 10s + retries: 15 diff --git a/examples/compose/weird.yaml b/templates/compose/weird.yaml similarity index 100% rename from examples/compose/weird.yaml rename to templates/compose/weird.yaml diff --git a/templates/compose/wordpress-with-mariadb.yaml b/templates/compose/wordpress-with-mariadb.yaml new file mode 100644 index 000000000..8a1696889 --- /dev/null +++ b/templates/compose/wordpress-with-mariadb.yaml @@ -0,0 +1,26 @@ +# documetaion: https://wordpress.org/documentation/ +# slogan: "WordPress is open source software you can use to create a beautiful website, blog, or app." + +services: + wordpress: + image: wordpress:latest + volumes: + - wordpress-files:/var/www/html + environment: + SERVICE_FQDN: + WORDPRESS_DB_HOST: mariadb + WORDPRESS_DB_USER: $SERVICE_USER_WORDPRESS + WORDPRESS_DB_PASSWORD: $SERVICE_PASSWORD_WORDPRESS + WORDPRESS_DB_NAME: wordpress + depends_on: + - mariadb + + mariadb: + image: mariadb:11 + volumes: + - mariadb-data:/var/lib/mysql + environment: + MYSQL_ROOT_PASSWORD: $SERVICE_PASSWORD_ROOT + MYSQL_DATABASE: wordpress + MYSQL_USER: $SERVICE_USER_WORDPRESS + MYSQL_PASSWORD: $SERVICE_PASSWORD_WORDPRESS diff --git a/templates/compose/wordpress-with-mysql.yaml b/templates/compose/wordpress-with-mysql.yaml new file mode 100644 index 000000000..9f687375c --- /dev/null +++ b/templates/compose/wordpress-with-mysql.yaml @@ -0,0 +1,26 @@ +# documetaion: https://wordpress.org/documentation/ +# slogan: "WordPress is open source software you can use to create a beautiful website, blog, or app." + +services: + wordpress: + image: wordpress:latest + volumes: + - wordpress-files:/var/www/html + environment: + SERVICE_FQDN: + WORDPRESS_DB_HOST: mysql + WORDPRESS_DB_USER: $SERVICE_USER_WORDPRESS + WORDPRESS_DB_PASSWORD: $SERVICE_PASSWORD_WORDPRESS + WORDPRESS_DB_NAME: wordpress + depends_on: + - mysql + + mysql: + image: mysql:5.7 + volumes: + - mysql-data:/var/lib/mysql + environment: + MYSQL_ROOT_PASSWORD: $SERVICE_PASSWORD_ROOT + MYSQL_DATABASE: wordpress + MYSQL_USER: $SERVICE_USER_WORDPRESS + MYSQL_PASSWORD: $SERVICE_PASSWORD_WORDPRESS diff --git a/templates/compose/wordpress-without-database.yaml b/templates/compose/wordpress-without-database.yaml new file mode 100644 index 000000000..fb5bfd958 --- /dev/null +++ b/templates/compose/wordpress-without-database.yaml @@ -0,0 +1,10 @@ +# documetaion: https://wordpress.org/documentation/ +# slogan: "WordPress is open source software you can use to create a beautiful website, blog, or app." + +services: + wordpress: + image: wordpress:latest + volumes: + - wordpress-files:/var/www/html + environment: + SERVICE_FQDN: