version: "3" services: server: image: bird:latest restart: always container_name: birdmakeup environment: - Instance:Domain=bird.makeup - Instance:AdminEmail=name@domain.ext - Db:Type=postgres - Db:Host=db - Db:Name=birdsitelive - Db:User=birdsitelive - Db:Password=birdsitelive ports: - "5000:80" depends_on: - db db: image: postgres:9 restart: always environment: - POSTGRES_USER=birdsitelive - POSTGRES_PASSWORD=birdsitelive - POSTGRES_DB=birdsitelive volumes: - ./postgres:/var/lib/postgresql/data ports: - "5432:5432"