aboutsummaryrefslogtreecommitdiffstats
path: root/docker/docker-compose.yml
blob: 577c54673c8971a24a0265c0f7d984c6f2bab13e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
      - 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-database-vol:/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-database-vol:
  ferdi-recipes-vol: