Everything Cloud

Your Docker app is live

This starter proves your stack is running. It does not use a database — the db service in docker-compose.yml is a template for when you deploy your own app.

App URL

https://dev.everythingcloud.in

Host port

3008 → container 3000

How to configure Docker Compose

  1. 1. Create your environment file. Copy .env.example to .env.
  2. 2. Set your public URL. APP_URL=https://your-domain.com — no trailing slash.
  3. 3. Set the reverse-proxy port. APP_PORT must match the port Everything Cloud configured for your site (default 3000).
  4. 4. Keep two services only. Your docker-compose.yml should define app and db. Wire DATABASE_URL in your app when you replace this starter. Do not add nginx, certbot, or another reverse proxy — SSL and routing are managed for you.
  5. 5. Deploy from your portal. Use Compose Up after connecting your Git repository, or pull and compose up when you replace this starter.

Expected compose shape (for your app)

services:
  app:
    build: .
    restart: unless-stopped
    ports:
      - "127.0.0.1:${APP_PORT:-3000}:${PORT:-3000}"
    env_file:
      - .env
    depends_on:
      db:
        condition: service_healthy

  db:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
    volumes:
      - pgdata:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
      interval: 5s
      timeout: 5s
      retries: 10

volumes:
  pgdata:

Managed by Everything Cloud

  • nginx reverse proxy
  • SSL certificates
  • Domain routing to your app port

Your repository

  • Application code
  • docker-compose.yml (app + db)
  • .env and database credentials