version: '3.3' services: blendb-postgres: image: postgres:10 container_name: postgres environment: POSTGRES_PASSWORD: passwd PGDATA: /var/lib/postgresql/docker/pgdata ports: - 5432:5432 restart: unless-stopped security_opt: - no-new-privileges blendb: # image: marula.c3sl.ufpr.br:5000/c3sl/blendb:latest image: blendb build: . container_name: blendb environment: BLENDB_SCHEMA_FILE: config/config.yaml.example PORT: 3000 BLENDB_N_DB: 1 BLENDB_DB0_USER: postgres BLENDB_DB0_NAME: postgres BLENDB_DB0_PASSWORD: passwd BLENDB_DB0_HOST: postgres BLENDB_DB0_PORT: 5432 BLENDB_DB0_ADAPTER: postgres ports: - 3000:3000 command: ["yarn","test-mode"] restart: unless-stopped read_only: 'true' security_opt: - no-new-privileges volumes: - type: tmpfs target: /tmp