docker-compose.yml 1.1 KB
Newer Older
1 2 3 4
version: '3.3'
services:
    blendb:
        image: marula.c3sl.ufpr.br:5000/c3sl/blendb:latest
5
        build: .
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 37 38 39
        container_name: blendb
#        depends_on:
#            - db
        environment:
            BLENDB_DB_USER: ${BLENDB_DB_USER}
            BLENDB_DB_PASSWORD: ${BLENDB_DB_PASSWORD}
            BLENDB_DB_NAME: ${BLENDB_DB_NAME}
            BLENDB_DB_HOST: ${BLENDB_DB_HOST}
            BLENDB_DB_PORT: ${BLENDB_DB_PORT}
            BLENDB_ST_CREATE: ${BLENDB_ST_CREATE}
            BLENDB_ST_INSERT: ${BLENDB_ST_INSERT}
            BLENDB_ADAPTER: ${BLENDB_ADAPTER}
        volumes:
            -
                type: bind
                source: ./config
                target: /home/node/app/config
            -
                type: tmpfs
                target: /tmp
        restart: unless-stopped
        read_only: 'true'
        security_opt:
            - no-new-privileges

#    db:
#        image: postgres:9.6
#        container_name: db
#        ports:
#            - "5432"
#        restart: unless-stopped
#        #read_only: 'true'
#        security_opt:
#            - no-new-privileges