services:
  vaultwarden:
    environment:
      DOMAIN: null
      SMTP_FROM: null
      DATABASE_URL: mysql://vaultwarden:pw@db/vault
    ports:
      - 127.0.0.1:1337:80
  db:
    environment:
      MARIADB_USER: vaultwarden
      MARIADB_PASSWORD: pw
      MARIADB_DATABASE: vault