Search
Write a publication
Pull to refresh
0
0

Программист

Send message
production: {
    url: 'url',
    mail: {},
    database: {
        client: 'sqlite3',
        connection: {
            filename: path.join(process.env.GHOST_CONTENT, '/data/ghost.db')
        },
        debug: false
    },

    server: {
        host: '0.0.0.0',
        port: '2368'
    },
    paths: {
        contentPath: path.join(process.env.GHOST_CONTENT, '/')
    }
}

У меня такой конфиг. Все работает :)

version: '2'

services:
    ghost:
        image: ghost:latest
        restart: always
        volumes:
            - ghost:/var/lib/ghost
        environment:
            - NODE_ENV=production

Вот так запускается ghost в production mode.

Information

Rating
Does not participate
Location
Россия
Registered
Activity