github.com/quay/claircore@v1.5.28/docker-compose.yaml (about) 1 version: "3.7" 2 3 # if you are using firewalld add this consistent bridge name 4 # to your trusted zone 5 # sudo firewall-cmd --zone=trusted --add-interface=claircore --permanent 6 # sudo firewall-cmd --reload 7 networks: 8 default: 9 driver_opts: 10 com.docker.network.bridge.name: claircore 11 12 services: 13 claircore-db: 14 image: postgres:11.5 15 container_name: claircore-db 16 environment: 17 POSTGRES_USER: "claircore" 18 POSTGRES_DB: "claircore" 19 ports: 20 - "5434:5432" 21 healthcheck: 22 test: [ "CMD-SHELL", "pg_isready -U claircore -d claircore" ] 23 interval: 10s 24 timeout: 9s 25 retries: 3 26 start_period: 10s