Files
templates/blueprints/capso/docker-compose.yml
Jainil Prajapati 🪐 532eb65cbc Add Cap.so entry to meta.json (#226)
* Add Cap.so entry to meta.json

- Introduced Cap.so, a platform for web and desktop applications with MySQL and S3 storage, including relevant links and tags.
- Reformatted tag lists for consistency across all entries.

* Add GitLab CE entry to meta.json

- Introduced GitLab Community Edition, a free and open source platform for managing Git repositories and CI/CD pipelines, with relevant links and tags.
- Ensured consistency in tag formatting across all entries.

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2025-07-20 21:35:44 -06:00

58 lines
1.5 KiB
YAML

version: "3.8"
services:
cap-web:
image: ghcr.io/capsoftware/cap-web:latest
restart: unless-stopped
environment:
DATABASE_URL: 'mysql://${MYSQL_USER}:${MYSQL_PASSWORD}@ps-mysql:3306/${MYSQL_DATABASE}?ssl={"rejectUnauthorized":false}'
WEB_URL: "http://${DOMAIN}:3000"
NEXTAUTH_URL: "http://${DOMAIN}:3000"
DATABASE_ENCRYPTION_KEY: ${DATABASE_ENCRYPTION_KEY}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
CAP_AWS_ACCESS_KEY: ${CAP_AWS_ACCESS_KEY}
CAP_AWS_SECRET_KEY: ${CAP_AWS_SECRET_KEY}
CAP_AWS_BUCKET: ${CAP_AWS_BUCKET}
CAP_AWS_REGION: ${CAP_AWS_REGION}
S3_PUBLIC_ENDPOINT: "http://${DOMAIN}:3902"
S3_INTERNAL_ENDPOINT: "http://minio:3902"
expose:
- 3000
ps-mysql:
image: mysql:8.0
restart: unless-stopped
environment:
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_ROOT_HOST: "%"
command:
- --max_connections=1000
- --default-authentication-plugin=mysql_native_password
expose:
- 3306
volumes:
- ps-mysql:/var/lib/mysql
minio:
image: bitnami/minio:latest
restart: unless-stopped
environment:
MINIO_API_PORT_NUMBER: 3902
MINIO_CONSOLE_PORT_NUMBER: 3903
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
expose:
- 3902
- 3903
volumes:
- minio-data:/bitnami/minio/data
- minio-certs:/certs
volumes:
ps-mysql:
driver: local
minio-data:
driver: local
minio-certs:
driver: local