Docker Basics: Getting a compose service running

Published: Thu, Jun 5, 2025

Links:

    Video Notes

    Example Compose File

    services:
      vaultwarden:
        image: vaultwarden/server:latest
        container_name: vaultwarden
        restart: unless-stopped
        environment:
          DOMAIN: "https://vw.domain.tld"
        volumes:
          - ./vw-data/:/data/
        ports:
          - 80:80
    

    Docker Volumes

    As the Docker docs define it, “Volumes are persistent data stores for containers, created and managed by Docker.”. You can think of them like a file shared folder between the host system, and inside of that container.