version: "2" services: ferdi-server: image: getferdi/ferdi-server container_name: ferdi-server environment: - NODE_ENV=development - EXTERNAL_DOMAIN=localhost - DB_CONNECTION=sqlite - DB_HOST=127.0.0.1 - DB_PORT=3306 - DB_USER=root - DB_PASSWORD=password - DB_DATABASE=ferdi # existing Ferdi-server users who use the built-in sqlite database should use the database name "development" - DB_SSL=false - MAIL_CONNECTION=smtp - SMPT_HOST=127.0.0.1 - SMTP_PORT=2525 - MAIL_SSL=false - MAIL_USERNAME=username - MAIL_PASSWORD=password - MAIL_SENDER=noreply@getferdi.com - IS_CREATION_ENABLED=true - IS_DASHBOARD_ENABLED=true - IS_REGISTRATION_ENABLED=true - CONNECT_WITH_FRANZ=false - DATA_DIR=data # existing Ferdi-server users should ensure that they add this variable to ensure data persistence. volumes: - ferdi-config-vol:/config - ferdi-database-vol:/app/data # existing Ferdi-server users who use the built-in sqlite database should use the volume name "/app/database" - ferdi-recipes-vol:/app/recipes ports: - 3333:3333 # existing Ferdi-server users will neeed to update their portt mappings from 80:3333 to 3333:3333. restart: unless-stopped volumes: ferdi-config-vol: ferdi-database-vol: ferdi-recipes-vol: