How to setup laravel in docker at production server

My docker-compose.yml file

version: '3'

services:
  app:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        user: testuser
        uid: 1000
    container_name: test-app
    restart: unless-stopped
    volumes:
      - ./:/var/www
    networks:
      - default

  nginx:
    image: nginx:alpine
    container_name: test-nginx
    restart: unless-stopped
    volumes:
      - ./:/var/www
      - ./docker-compose/nginx:/etc/nginx/conf.d/
    ports:
      - 8000:80
    networks:
      - default

networks:
  default:
    driver: bridge

1.I already have a database in DigitalOcean, so I want to connect it to this database.
2.Then how to setup this application on production server