Need help in deploying various services

I want to deploy a few things in docker and here is how i want to-

  • First i want to create the django image of my django project
  • Then another image with few python scripts
  • And the database image(mysql or postgreSQL).

What i will be doing is my django project will make use of that mysql or postgreSQL to show data to the user and those few scripts and to provide the data to the database.
So can this be done by just service way of docker or do i have to use the “swarm”.