version: '3.3' services: blendb: image: marula.c3sl.ufpr.br:5000/c3sl/blendb:latest build: /home/lfo14/c3sl/blendb 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