Code Monkey home page Code Monkey logo

Comments (3)

eldadfux avatar eldadfux commented on May 6, 2024

Please post the docker-compose.yml you are using. Have you cloned the repo and tried to run docker-compose directly? or are you using the one-command installation as recommended in the README.md file?

from appwrite.

fosteman avatar fosteman commented on May 6, 2024

I'm following instructions as outlined in CONTRIBUTE.md
Here's docker-compose.yml

version: '3'

services:
  appwrite:
    build: .
    restart: unless-stopped
    volumes:
    - .:/usr/share/nginx/html
    - ./docker/nginx.conf:/etc/nginx/nginx.conf:rw
    - ./storage:/storage:rw
    ports:
    - "80:80"
    - "443:443"
    depends_on:
      - mariadb
      - redis
      - smtp
      - clamav
      - influxdb
      - telegraf
    environment:
    - _APP_ENV=development
    - _APP_OPENSSL_KEY_V1=your-secret-key
    - _APP_REDIS_HOST=redis
    - _APP_REDIS_PORT=6379
    - _APP_DB_HOST=mariadb
    - _APP_DB_PORT=3306
    - _APP_DB_SCHEMA=appwrite
    - _APP_DB_USER=root
    - _APP_DB_PASS=password
    - _APP_INFLUXDB_HOST=influxdb
    - _APP_INFLUXDB_PORT=8086
    - _APP_STATSD_HOST=telegraf
    - _APP_STATSD_PORT=8125
    #- [email protected],[email protected]
    #- _APP_CONSOLE_WHITELIST_IPS=192.1.1.100,192.1.1.101
    #- _APP_CONSOLE_WHITELIST_DOMAINS=appwrite.io,example.com

  mariadb:
    image: appwrite/mariadb:1.0.0 # fix issues when upgrading using: mysql_upgrade -u root -p
    restart: unless-stopped
    environment:
    - MYSQL_ROOT_PASSWORD=password
    volumes:
    - ./storage/db:/var/lib/mysql:rw
    ports:
    - 3306:3306/tcp

  smtp:
    image: appwrite/smtp:1.0.0
    environment:
    - MAILNAME=appwrite
    - RELAY_NETWORKS=:192.168.0.0/24:10.0.0.0/16
    ports:
    - "25:25"

  clamav:
    image: appwrite/clamav:1.0.4
    restart: unless-stopped
    volumes:
    - ./storage:/storage:rw
      
  redis:
    image: redis:5.0
    restart: unless-stopped

  influxdb:
    image: influxdb:1.6
    volumes:
    - ./storage/influxdb:/var/lib/influxdb
    ports:
    - "8086:8086"

  telegraf:
    image: appwrite/telegraf:1.0.0
    ports:
    - "8125:8125/udp"```

from appwrite.

eldadfux avatar eldadfux commented on May 6, 2024

This is your issue. You have to run PHP composer before running docker-compose up -d. Follow setup instruction closely.

If you just want to check the project and not contribute and easier way to install is this:
https://github.com/appwrite/appwrite#installation

from appwrite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.