Tag: discourse

  • discourse

    Discourse store data in folder /var/discourse/shared/standalone

    root@forum:/var/discourse/shared/standalone# ll
    total 48
    drwxr-xr-x 12 root root     4096 Jan 24 05:04 ./
    drwxr-xr-x  4 root root     4096 Jan 24 04:57 ../
    drwxr-xr-x  3 1000 www-data 4096 Jan 24 06:39 backups/
    drwxr-xr-x  6 root root     4096 Jan 25 00:07 letsencrypt/
    drwxr-xr-x  4 root root     4096 Jan 24 04:58 log/
    drwxr-xr-x  2 lxd  uuidd    4096 Jan 24 04:57 postgres_backup/
    drwx------ 19 lxd  uuidd    4096 Jan 24 18:10 postgres_data/
    drwxrwxr-x  3 lxd  uuidd    4096 Jan 24 18:10 postgres_run/
    drwxr-xr-x  2 sshd ntp      4096 Jan 25 03:01 redis_data/
    drwxr-xr-x  2 root root     4096 Jan 24 05:04 ssl/
    drwxr-xr-x  4 root root     4096 Jan 24 05:04 state/
    drwxr-xr-x  3 1000 www-data 4096 Jan 24 05:00 uploads/
    root@forum:/var/discourse/shared/standalone#
    

    SSH Into Container

    cd /var/discourse
    ./launcher enter app
    

    Start/Stop

    root@runerank:/var/discourse# ./launcher stop app
    + /usr/bin/docker stop -t 10 app
    app
    root@runerank:/var/discourse# ./launcher start app
    
    starting up existing container
    + /usr/bin/docker start app
    app
    root@runerank:/var/discourse#