snello CMS
  • Snello CMS
  • Get Started
  • Architecture
    • Snello API
    • Snello ADMIN
  • Docker Images
    • Database
    • Storage
    • Mail settings
    • Docker compose
  • Metadata
    • UUIDs
    • To reuse existing database tables
    • Advanced configuration
    • Reserved Metadata Names
  • Field Definitions
    • Data Types
    • Multijoin: database and rest queries
    • CRUD options
  • How to query using REST API
    • metadata api
    • filters & limit & sort
      • protect your api
  • Conditions
    • Multijoin conditions
  • Documents
    • Download endpoint
  • How to publish your web pages
  • Select Queries
  • Authentication & Authorization
    • User & Roles
    • Password recovery
    • Url Map Rules
  • Links
  • Draggables & Droppables
    • angular syntax
  • Deploy in Production
    • Let’s Encrypt
    • Remove Hashbang
    • Traefik
    • Rendertron
  • Notes
    • Micronaut - create extensions
    • Native image
    • Editor for code
    • Multi languages
  • k8s cache distributed
  • Developers Space
    • Java code
    • Angular code
  • Roadmap
    • Java Evolution
    • Angular Evolution
    • Next features
Powered by GitBook
On this page
Edit on GitHub
  1. Docker Images

Docker compose

Example of complete docker-compose

version: '3'
services:
  pgadmin4:
    image: dpage/pgadmin4
    expose:
      - "80"
    ports:
      - '5050:80'
    environment:
       PGADMIN_DEFAULT_EMAIL: xxxx
       PGADMIN_DEFAULT_PASSWORD: xxxxx
  snello-api:
    restart: always
    image: snellocms/snello-api:latest
    ports:
      - "8080:8080"
    environment:
      JDBC_HOST: host
      JDBC_TYPE: postgresql
      JDBC_PORT: 3456
      JDBC_DB: snello
      JDBC_USERNAME: snello
      JDBC_PASSWORD: snello
      JDBC_DRIVER: org.postgresql.Driver
      MICRONAUT_DB_TYPE: postgresql
      MICRONAUT_STORAGE_TYPE: s3
      MICRONAUT_S3_ENDPOINT: https://minio.io
      MICRONAUT_S3_ACCESSKEY: xxxx
      MICRONAUT_S3_SECRETKEY: xxxx
      MICRONAUT_S3_BUCKETNAME: snello
      MICRONAUT_S3_REGION: us-east-1
      WEB_PATH: "/home/snello/files/"
      TZ: "Europe/Rome"
  minio:
    image: minio/minio
    ports:
      - "9001:9000"
    environment:
      MINIO_ACCESS_KEY: xxx
      MINIO_SECRET_KEY: xxxxx
    command: server /data
  snello-admin:
    restart: always
    image: snellocms/snello-admin:latest
    volumes:
      - ./config-snello-admin.json:/usr/share/nginx/html/snello-admin/assets/config.json
    depends_on:
      - snello-api

PreviousMail settingsNextMetadata

Last updated 2 years ago